Прочетете на английски

Споделяне чрез


TraceableBase.TraceException Method

Definition

Overloads

TraceException(TraceEventType, TraceId, Exception, String)

C#
public bool TraceException(System.Diagnostics.TraceEventType eventType, Microsoft.Data.Tools.Diagnostics.TraceId traceId, Exception exception, string message);

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

TraceException(TraceEventType, Int32, Exception, String)

C#
public bool TraceException(System.Diagnostics.TraceEventType eventType, int traceId, Exception exception, string message);

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