SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

CloudAccountDiagnosticMonitorExtensions.CreateRoleInstanceDiagnosticManager Method

Updated: November 15, 2013

Creates an new instance of the RoleInstanceDiagnosticManager class for the specified deployment, role, and instance.

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

public static RoleInstanceDiagnosticManager CreateRoleInstanceDiagnosticManager (
	string connectionString,
	string deploymentId,
	string roleName,
	string roleInstanceId
)

Parameters

connectionString

The connection string for the storage account

deploymentId

The deployment ID for the current deployment.

roleName

The name of the role in the specified deployment.

roleInstanceId

The role instance ID.

Return Value

Returns RoleInstanceDiagnosticManager.

The CreateRoleInstanceDiagnosticManager extension method enables you to use a connection string to create a RoleInstanceDiagnosticManager. The method will create the RoleInstanceDiagnosticManager using the connection string to a storage account to access the diagnostics configuration.


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2016 Microsoft