Updated: November 15, 2013
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
public static DiagnosticMonitor StartWithConnectionString ( string connectionString, DiagnosticMonitorConfiguration initialConfiguration )
A String that specifies a connection string to a storage account.
A DiagnosticMonitorConfiguration object that provides a custom initial configuration.
Return ValueReturns DiagnosticMonitor.
Data buffers are transferred to the storage account specified by the connection string. The DiagnosticMonitorConfiguration object provides specific configuration options for your role instance.
If your storage account is misconfigured, your role instance will start without diagnostics. To ensure that diagnostics will start, verify that your storage account is configured correctly before calling the StartWithConnectionString method.
Development PlatformsWindows Vista, Windows 7 and Windows Server 2008