STrace.SetDefaultLevel(String, UInt32) Method

Definition

Sets the default trace level for the specified component.

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)

Parameters

strComponentName
String

The component name.

nDefaultLevel
UInt32

The default trace level.

Attributes

Remarks

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Applies to