¿Le resultó útil esta página?
Sus comentarios sobre este contenido son muy importantes. Háganos saber su opinión.
¿Tiene comentarios adicionales?
Caracteres restantes: 1500
Exportar (0) Imprimir
Expandir todo

RoleInstanceDiagnosticManager (Constructor)

Initializes a new instance of the RoleInstanceDiagnosticManager class.

Espacio de nombres: Microsoft.WindowsAzure.Diagnostics.Management
Ensamblado: Microsoft.WindowsAzure.Diagnostics (en microsoft.windowsazure.diagnostics.dll)

'Uso
Dim storageAccount As CloudStorageAccount
Dim deploymentId As String
Dim roleName As String
Dim roleInstanceId As String

Dim instance As New RoleInstanceDiagnosticManager(storageAccount, deploymentId, roleName, roleInstanceId)

public RoleInstanceDiagnosticManager (
	CloudStorageAccount storageAccount,
	string deploymentId,
	string roleName,
	string roleInstanceId
)
public RoleInstanceDiagnosticManager (
	CloudStorageAccount storageAccount, 
	String deploymentId, 
	String roleName, 
	String roleInstanceId
)
public function RoleInstanceDiagnosticManager (
	storageAccount : CloudStorageAccount, 
	deploymentId : String, 
	roleName : String, 
	roleInstanceId : String
)

Parámetros

storageAccount

A CloudStorageAccount object.

deploymentId

The deployment ID.

roleName

The name of the role.

roleInstanceId

The role instance ID.

The RoleInstanceDiagnosticManager constructor creates an object that represents the diagnostic monitor for a role instance. The methods and properties of this class enable you to configure on-demand transfers and change the current configuration of a diagnostic monitor.

The following code snippet creates a RoleInstanceDiagnosticManager using this method:

RoleInstanceDiagnosticManager roleInstanceDiagnosticManager = 
       new RoleInstanceDiagnosticManager(myStorageAccount, 
                                         "28281fc7754b44faa9ccf4911983edf1",
                                         "MyWebRole",
                                         "deployment(1).MyAzureProject.WebRole1.0");


Plataformas de desarrollo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 y Windows 2000

Plataformas de destino

Adiciones de comunidad

Mostrar:
© 2015 Microsoft