Redigera

Dela via


ActivityTraceId.Equality(ActivityTraceId, ActivityTraceId) Operator

Definition

Determines whether two specified ActivityTraceId instances have the same value.

public:
 static bool operator ==(System::Diagnostics::ActivityTraceId traceId1, System::Diagnostics::ActivityTraceId traceId2);
public static bool operator == (System.Diagnostics.ActivityTraceId traceId1, System.Diagnostics.ActivityTraceId traceId2);
static member ( = ) : System.Diagnostics.ActivityTraceId * System.Diagnostics.ActivityTraceId -> bool
Public Shared Operator == (traceId1 As ActivityTraceId, traceId2 As ActivityTraceId) As Boolean

Parameters

traceId1
ActivityTraceId

The first instance to compare.

traceId2
ActivityTraceId

The second instance to compare.

Returns

true if the TraceId of traceId1 is the same as the TraceId of traceId2; otherwise, false.

Applies to