내보내기(0) 인쇄
모두 확장

OnDemandTransferOptions.LogLevelFilter 속성

Gets or sets the filter level for event data that has been logged with level information.

네임스페이스: Microsoft.WindowsAzure.Diagnostics.Management
어셈블리: Microsoft.WindowsAzure.Diagnostics(microsoft.windowsazure.diagnostics.dll)

‘사용 방법
Dim instance As OnDemandTransferOptions
Dim value As LogLevel

value = instance.LogLevelFilter

instance.LogLevelFilter = value

public LogLevel LogLevelFilter { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public LogLevel get_LogLevelFilter ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_LogLevelFilter (LogLevel value)

CompilerGeneratedAttribute 
public function get LogLevelFilter () : LogLevel

CompilerGeneratedAttribute 
public function set LogLevelFilter (value : LogLevel)

속성 값

Returns LogLevel.

The LogLevelFilter property specifies a LogLevel value by which to filter diagnostic data. If the logging level is set to Undefined, all data is transferred regardless of logging level.

Example

The following code snippet specifies that only error-level logs should be transferred:

// Specify the on-demand transfer options for the diagnostic data.
OnDemandTransferOptions transferOptions = new OnDemandTransferOptions();

// Specify only error-level logs.
transferOptions.LogLevelFilter = LogLevel.Error;


이 형식의 모든 public static(Shared, Visual Basic의 경우) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

개발 플랫폼

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

대상 플랫폼

커뮤니티 추가 항목

표시:
© 2014 Microsoft