Exportar (0) Imprimir
Expandir Tudo

Classe DeploymentDiagnosticManager

[Este tópico é uma documentação de pré-lançamento e está sujeito a alterações em versões futuras. Os tópicos em branco são incluídos como espaços reservados.]

Provides a class for managing the configuration of diagnostic monitors remotely.

Namespace: Microsoft.WindowsAzure.Diagnostics.Management
Assembly: Microsoft.WindowsAzure.Diagnostics (em microsoft.windowsazure.diagnostics.dll)

'Uso
Dim instance As DeploymentDiagnosticManager

public class DeploymentDiagnosticManager
public class DeploymentDiagnosticManager
public class DeploymentDiagnosticManager

The DeploymentDiagnosticManager class is used to specify a deployment and its role instances that are currently running on Windows Azure. Once a deployment has been specified, you can use other classes and methods of the Microsoft.WindowsAzure.Diagnostics.Management namespace to modify the diagnostics and logging configuration for the deployment and its roles.

You can instantiate a DeploymentDiagnosticManager class from an application running in the cloud or on a local computer. The only requirement is that your application can access the Blob storage endpoint for the wad-control-container created by your role’s DiagnosticMonitor.

You create a DeploymentDiagnosticManager object for a deployment by specifying the storage location for your diagnostics configuration file, either using the DiagnosticsConnectionString or a CloudStorageAccount object, and supplying the ID for your deployment.

For example, the following code snippet creates a new deployment diagnostic manager.

// Create a new diagnostic manager for the deployment.
DeploymentDiagnosticManager deploymentDiagnosticManager = new DeploymentDiagnosticManager("MyConnectionString", "28281fc7754b44faa9ccf4911983edf1");


System.Object
  Microsoft.WindowsAzure.Diagnostics.Management.DeploymentDiagnosticManager

Todos os membros estáticos públicos (Compartilhados no Visual Basic) desse tipo são thread-safe. Quaisquer membros de instância não têm garantia de ser thread-safe.

Plataformas de desenvolvimento

Windows XP Professional com Service Pack 2 (SP2)

Plataformas de destino

Contribuições da comunidade

Mostrar:
© 2014 Microsoft