EventCounter(String, EventSource) 생성자

정의

EventCounter 클래스의 새 인스턴스를 초기화합니다.

public:
 EventCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource);
public EventCounter (string name, System.Diagnostics.Tracing.EventSource eventSource);
new System.Diagnostics.Tracing.EventCounter : string * System.Diagnostics.Tracing.EventSource -> System.Diagnostics.Tracing.EventCounter
Public Sub New (name As String, eventSource As EventSource)

매개 변수

name
String

이벤트 카운터 이름입니다.

eventSource
EventSource

이벤트 소스입니다.

예외

name이(가) null인 경우

또는

eventSourcenull입니다.

적용 대상