TraceableBase.AssertTraceException Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| AssertTraceException(Boolean, TraceEventType, TraceId, Exception, String) | |
| AssertTraceException(Boolean, TraceEventType, Int32, Exception, String) |
AssertTraceException(Boolean, TraceEventType, TraceId, Exception, String)
public bool AssertTraceException(bool condition, System.Diagnostics.TraceEventType eventType, Microsoft.Data.Tools.Diagnostics.TraceId traceId, Exception exception, string message);
member this.AssertTraceException : bool * System.Diagnostics.TraceEventType * Microsoft.Data.Tools.Diagnostics.TraceId * Exception * string -> bool
Public Function AssertTraceException (condition As Boolean, eventType As TraceEventType, traceId As TraceId, exception As Exception, message As String) As Boolean
Parameter
- condition
- Boolean
- eventType
- TraceEventType
- traceId
- Microsoft.Data.Tools.Diagnostics.TraceId
- exception
- Exception
- message
- String
Gibt zurück
Gilt für:
AssertTraceException(Boolean, TraceEventType, Int32, Exception, String)
public bool AssertTraceException(bool condition, System.Diagnostics.TraceEventType eventType, int traceId, Exception exception, string message);
member this.AssertTraceException : bool * System.Diagnostics.TraceEventType * int * Exception * string -> bool
Public Function AssertTraceException (condition As Boolean, eventType As TraceEventType, traceId As Integer, exception As Exception, message As String) As Boolean
Parameter
- condition
- Boolean
- eventType
- TraceEventType
- traceId
- Int32
- exception
- Exception
- message
- String