STrace.SetDefaultLevel(String, UInt32) 方法

定义

设置指定组件的默认跟踪级别。

public:
 static void SetDefaultLevel(System::String ^ strComponentName, System::UInt32 nDefaultLevel);
[System.Diagnostics.Conditional("TRACE")]
public static void SetDefaultLevel (string strComponentName, uint nDefaultLevel);
[<System.Diagnostics.Conditional("TRACE")>]
static member SetDefaultLevel : string * uint32 -> unit
Public Shared Sub SetDefaultLevel (strComponentName As String, nDefaultLevel As UInteger)

参数

strComponentName
String

组件名称。

nDefaultLevel
UInt32

默认跟踪级别。

属性

注解

标识为仅供参考。 不支持。 不保证以后的兼容性。

适用于