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

이벤트 원본입니다.

설명

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

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

적용 대상