IncrementingEventCounter(String, EventSource) Constructor
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.
Initializes a new instance of the IncrementingEventCounter class.
public:
IncrementingEventCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource);
public IncrementingEventCounter (string name, System.Diagnostics.Tracing.EventSource eventSource);
new System.Diagnostics.Tracing.IncrementingEventCounter : string * System.Diagnostics.Tracing.EventSource -> System.Diagnostics.Tracing.IncrementingEventCounter
Public Sub New (name As String, eventSource As EventSource)
Parameters
- name
- String
The name for this IncrementingEventCounter instance.
- eventSource
- EventSource
The event source.
Remarks
IncrementingEventCounter live as long as the EventSource that they are attached to unless they are explicitly disposed.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.