EventListener.OnEventSourceCreated(EventSource) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이벤트 수신기가 만들어지고 새 이벤트 원본이 수신기에 연결된 경우 모든 기존 이벤트 원본에 대해 호출됩니다.
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 있습니다.