匯出 (0) 列印
全部展開

DeploymentDiagnosticManager 類別

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

命名空間: Microsoft.WindowsAzure.Diagnostics.Management
組件: Microsoft.WindowsAzure.Diagnostics (在 microsoft.windowsazure.diagnostics.dll 中)

'用途
Dim instance As DeploymentDiagnosticManager

public ref 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

任何這個類型的公用靜態 (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。 並非所有的執行個體成員都是安全執行緒。

開發平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003、Windows Server 2008 和 Windows 2000

目標平台

社群新增項目

顯示:
© 2015 Microsoft