DiagnosticMonitorTraceListener.Dispose Method (Boolean)

 

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

Namespace:   Microsoft.WindowsAzure.Diagnostics
Assembly:  Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)

Syntax

protected override void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
) override
override Dispose : 
        disposing:bool -> unit
Protected Overrides Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

Warning

This API is not supported in Azure SDK versions 2.5 and higher. Instead, use the diagnostics.wadcfg XML configuration file. For more information, see Collect Logging Data by Using Azure Diagnostics.

See Also

Dispose Overload
DiagnosticMonitorTraceListener Class
Microsoft.WindowsAzure.Diagnostics Namespace

Return to top