Export (0) Print
Expand All

TraceListener.Dispose Method

Releases the resources used by the TraceListener.

Overload List

Releases all resources used by the TraceListener.

[Visual Basic] Overloads Public Overridable Sub Dispose() Implements IDisposable.Dispose
[C#] public virtual void Dispose();
[C++] public: virtual void Dispose();
[JScript] public function Dispose();

Releases the unmanaged resources used by the TraceListener and optionally releases the managed resources.

[Visual Basic] Overloads Protected Overridable Sub Dispose(Boolean)
[C#] protected virtual void Dispose(bool);
[C++] protected: virtual void Dispose(bool);
[JScript] protected function Dispose(Boolean);

See Also

TraceListener Class | TraceListener Members | System.Diagnostics Namespace

Show:
© 2014 Microsoft