次の方法で共有


TraceableBase.AssertTraceEvent Method

Definition

Overloads

AssertTraceEvent(Boolean, TraceEventType, TraceId, String)
AssertTraceEvent(Boolean, TraceEventType, Int32, String)

AssertTraceEvent(Boolean, TraceEventType, TraceId, String)

public bool AssertTraceEvent (bool condition, System.Diagnostics.TraceEventType eventType, Microsoft.Data.Tools.Diagnostics.TraceId traceId, string message);
member this.AssertTraceEvent : bool * System.Diagnostics.TraceEventType * Microsoft.Data.Tools.Diagnostics.TraceId * string -> bool
Public Function AssertTraceEvent (condition As Boolean, eventType As TraceEventType, traceId As TraceId, message As String) As Boolean

Parameters

condition
Boolean
eventType
TraceEventType
traceId
Microsoft.Data.Tools.Diagnostics.TraceId
message
String

Returns

Applies to

AssertTraceEvent(Boolean, TraceEventType, Int32, String)

public bool AssertTraceEvent (bool condition, System.Diagnostics.TraceEventType eventType, int traceId, string message);
member this.AssertTraceEvent : bool * System.Diagnostics.TraceEventType * int * string -> bool
Public Function AssertTraceEvent (condition As Boolean, eventType As TraceEventType, traceId As Integer, message As String) As Boolean

Parameters

condition
Boolean
eventType
TraceEventType
traceId
Int32
message
String

Returns

Applies to