STrace.SetDefaultLevel(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.