TraceListener.Dispose Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Releases all resources used by the TraceListener.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public void Dispose()

Calling Dispose allows the resources used by the TraceListener to be reallocated for other purposes. For more information about Dispose, see Cleaning Up Unmanaged Resources.

.NET Framework
Available since 1.1
Return to top
Show: