This documentation is archived and is not being maintained.

SourceSwitch Methods

The SourceSwitch type exposes the following members.

  NameDescription
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 a hash function for a particular type. (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
Show: