This topic has not yet been rated - Rate this topic

EventProvider.Close Method

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

Namespace:  System.Diagnostics.Eventing
Assembly:  System.Core (in System.Core.dll)
public virtual void Close()
ExceptionCondition
Win32Exception

An error returned by the ETW subsystem.

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

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.