Uredi

Deli z drugimi prek


EventProvider.Close Method

Definition

Removes the provider's registration from the ETW subsystem and releases all unmanaged resources.

public:
 virtual void Close();
public virtual void Close ();
abstract member Close : unit -> unit
override this.Close : unit -> unit
Public Overridable Sub Close ()

Exceptions

An error returned by the ETW subsystem.

Remarks

You should call this method when finished instead of waiting for the system to dispose of the resources.

Applies to