SourceSwitch Methods

The SourceSwitch type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetSupportedAttributes Gets the custom attributes supported by the switch. (Inherited from Switch.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSwitchSettingChanged Invoked when the SwitchSetting property is changed. (Inherited from Switch.)
Protected method OnValueChanged Invoked when the value of the Value property changes. (Overrides Switch.OnValueChanged().)
Public method ShouldTrace Determines if trace listeners should be called, based on the trace event type.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft