TracingOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents options for configuring the tracing system.
public ref class TracingOptions
public class TracingOptions
type TracingOptions = class
Public Class TracingOptions
- Inheritance
-
TracingOptions
Constructors
| Name | Description |
|---|---|
| TracingOptions() | |
Properties
| Name | Description |
|---|---|
| Rules |
Gets a list of activity rules that identifies which activity sources, activities, and listeners are enabled. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
| Name | Description |
|---|---|
| DisableTracing(TracingOptions, String, String, String, ActivitySourceScopes) |
Disables all activities for the given source, operation, listener, and scopes. |
| EnableTracing(TracingOptions, String, String, String, ActivitySourceScopes) |
Enables all activities for the given source, operation, listener, and scopes. |