TraceableBase.TraceException Method
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.
TraceException(TraceEventType, TraceId, Exception, String) | |
TraceException(TraceEventType, Int32, Exception, String) |
C#
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
Parameters
- eventType
- TraceEventType
- traceId
- Microsoft.Data.Tools.Diagnostics.TraceId
- exception
- Exception
- message
- String
Returns
Applies to
Microsoft.SQLServer.DacFx 162.2.111 и други версии
Продукт | Версии |
---|---|
Microsoft.SQLServer.DacFx | 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111 |
C#
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
Parameters
- eventType
- TraceEventType
- traceId
- Int32
- exception
- Exception
- message
- String
Returns
Applies to
Microsoft.SQLServer.DacFx 162.2.111 и други версии
Продукт | Версии |
---|---|
Microsoft.SQLServer.DacFx | 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111 |