共用方式為


DiagnosticMonitorTraceListener.Write Method (String)

 

When overridden in a derived class, writes the specified message to the listener you create in the derived class.

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

Syntax

public override void Write(
    string message
)
public:
virtual void Write(
    String^ message
) override
override Write : 
        message:string -> unit
Public Overrides Sub Write (
    message As String
)

Parameters

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

Write Overload
DiagnosticMonitorTraceListener Class
Microsoft.WindowsAzure.Diagnostics Namespace

Return to top