내보내기(0) 인쇄
모두 확장
이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

DataBufferName 열거형

Enumeration of each data buffer type.

네임스페이스: Microsoft.WindowsAzure.Diagnostics
어셈블리: Microsoft.WindowsAzure.Diagnostics(microsoft.windowsazure.diagnostics.dll)
‘사용 방법
Dim instance As DataBufferName

public enum DataBufferName
public enum DataBufferName
public enum DataBufferName
멤버 이름설명
DiagnosticInfrastructureLogsIndicates the data buffer for logs generated by the underlying diagnostics infrastructure itself.
DirectoriesInidicates the data buffer for file-based logs.
LogsIndicates the data buffer for Windows Azure logs.
PerformanceCountersIndicates the data buffer for performance counters.
WindowsEventLogsIndicates the data buffer for Windows event logs.

The DataBufferName enumeration is used to specify a data buffer when starting or stopping an on-demand transfer of logging data. Specifically, this enumeration is used for the BeginOnDemandTransfer(DataBufferName) and CancelOnDemandTransfers methods. For example, the following code snippet starts a transfer of performance counter logs for the specified role instance:

// Create a DeploymentDiagnosticManager for the deployment.
DeploymentDiagnosticManager deploymentDiagnosticManager = new DeploymentDiagnosticManager("MyConnectionString", deploymentId);

// Get the diagnostic manager for the specified role instance.
RoleInstanceDiagnosticManager roleInstanceDiagnosticManager = deploymentDiagnosticManager.GetRoleInstanceDiagnosticManager(roleName, roleInstanceId);

// Begin the on-demand transfer of performance counter logs.
roleInstanceDiagnosticManager.BeginOnDemandTransfer(DataBufferName.PerformanceCounters);


개발 플랫폼

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

대상 플랫폼

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

표시:
© 2014 Microsoft. All rights reserved.