TraceHelper.Trace 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Trace(String, String, Object[]) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 |
| Trace(String, UInt32, String, Object[]) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 |
Trace(String, String, Object[])
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public static void Trace(string strComponentName, string strFormat, params object[] args);
static member Trace : string * string * obj[] -> unit
Public Shared Sub Trace (strComponentName As String, strFormat As String, ParamArray args As Object())
參數
- strComponentName
- String
- strFormat
- String
- args
- Object[]
適用於
Trace(String, UInt32, String, Object[])
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public static void Trace(string strComponentName, uint traceLevel, string strFormat, params object[] args);
static member Trace : string * uint32 * string * obj[] -> unit
Public Shared Sub Trace (strComponentName As String, traceLevel As UInteger, strFormat As String, ParamArray args As Object())
參數
- strComponentName
- String
- traceLevel
- UInt32
- strFormat
- String
- args
- Object[]