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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.