EventListener.OnEventSourceCreated(EventSource) 메서드

정의

이벤트 수신기가 만들어질 때와 새 이벤트 소스가 수신기에 연결될 때 모든 기존 이벤트 소스에 대해 호출됩니다.

protected public:
 virtual void OnEventSourceCreated(System::Diagnostics::Tracing::EventSource ^ eventSource);
protected internal virtual void OnEventSourceCreated (System.Diagnostics.Tracing.EventSource eventSource);
abstract member OnEventSourceCreated : System.Diagnostics.Tracing.EventSource -> unit
override this.OnEventSourceCreated : System.Diagnostics.Tracing.EventSource -> unit
Protected Friend Overridable Sub OnEventSourceCreated (eventSource As EventSource)

매개 변수

eventSource
EventSource

이벤트 소스입니다.

설명

이벤트 원본 구현은 이벤트 수신기가 인스턴스화될 때 이러한 콜백이 기존 이벤트 원본에 대해 발급된다는 점에 유의해야 합니다.

다중 스레드 환경에서는 콜백 전에 OnEventSourceCreated 콜백이 발생할 수 OnEventWritten 있습니다.

적용 대상