Export (0) Print
Expand All

DiagnosticMonitor.StartWithConnectionString Method

Updated: December 6, 2013

Starts a diagnostic monitor using the specified connection string and diagnostic monitor configuration.

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

public static DiagnosticMonitor StartWithConnectionString (
	string connectionString,
	DiagnosticMonitorConfiguration initialConfiguration
)

Parameters

connectionString

A String that specifies a connection string to a storage account.

initialConfiguration

A DiagnosticMonitorConfiguration object that provides a custom initial configuration.

Return Value

Returns 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft