TraceableBase.TraceException 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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