TraceableBase.TraceException 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| TraceException(TraceEventType, TraceId, Exception, String) | |
| TraceException(TraceEventType, Int32, Exception, String) |
TraceException(TraceEventType, TraceId, Exception, String)
public bool TraceException(System.Diagnostics.TraceEventType eventType, Microsoft.Data.Tools.Diagnostics.TraceId traceId, Exception exception, string message);
member this.TraceException : System.Diagnostics.TraceEventType * Microsoft.Data.Tools.Diagnostics.TraceId * Exception * string -> bool
Public Function TraceException (eventType As TraceEventType, traceId As TraceId, exception As Exception, message As String) As Boolean
參數
- eventType
- TraceEventType
- traceId
- Microsoft.Data.Tools.Diagnostics.TraceId
- exception
- Exception
- message
- String
傳回
適用於
TraceException(TraceEventType, Int32, Exception, String)
public bool TraceException(System.Diagnostics.TraceEventType eventType, int traceId, Exception exception, string message);
member this.TraceException : System.Diagnostics.TraceEventType * int * Exception * string -> bool
Public Function TraceException (eventType As TraceEventType, traceId As Integer, exception As Exception, message As String) As Boolean
參數
- eventType
- TraceEventType
- traceId
- Int32
- exception
- Exception
- message
- String