File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ public enum WriteEventErrorCode : int
8787 // Because callbacks happen on registration, and we need the callbacks for those setup
8888 // we can't call Register in the constructor.
8989 //
90- // Note that EventProvider should ONLY be used by EventSource. In particular because
91- // it registers a callback from native code you MUST dispose it BEFORE shutdown, otherwise
92- // you may get native callbacks during shutdown when we have destroyed the delegate.
93- // EventSource has special logic to do this, no one else should be calling EventProvider.
90+ // Note that EventProvider should ONLY be used by EventSource.
9491 internal EventProvider ( EventProviderType providerType )
9592 {
9693 _eventProvider = providerType switch
@@ -106,9 +103,7 @@ internal EventProvider(EventProviderType providerType)
106103 }
107104
108105 /// <summary>
109- /// This method registers the controlGuid of this class with ETW. We need to be running on
110- /// Vista or above. If not a PlatformNotSupported exception will be thrown. If for some
111- /// reason the ETW Register call failed a NotSupported exception will be thrown.
106+ /// This method registers the controlGuid of this class with ETW.
112107 /// </summary>
113108 internal unsafe void Register ( EventSource eventSource )
114109 {
You can’t perform that action at this time.
0 commit comments