Skip to content

Commit 8af7640

Browse files
John Salemgewarren
andauthored
Update xml/System.Diagnostics.Tracing/EventListener.xml
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 67db3e2 commit 8af7640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Diagnostics.Tracing/EventListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
When a new event source is created, the <xref:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated%2A> method is called. Every current event listener gets exactly one <xref:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated%2A> call for every current event source that can send it log messages. When an event listener is created, a series of <xref:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated%2A> calls are made to notify the new listener of all the event sources that existed before the listener was created.
6969
7070
> [!IMPORTANT]
71-
> When instantiating an `EventListener`, the callbacks to <xref:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated%2A> and <xref:System.Diagnostics.Tracing.EventListener.OnEventWritten%2A> can happen _before_ the constructor has completed. Care must be taken when initializing instance members used in those callbacks.
71+
> When instantiating an `EventListener`, the callbacks to <xref:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated%2A> and <xref:System.Diagnostics.Tracing.EventListener.OnEventWritten%2A> can happen _before_ the constructor has completed. Take care when you initialize instance members used in those callbacks.
7272
7373
]]></format>
7474
</remarks>

0 commit comments

Comments
 (0)