ActivityTraceId.Inequality(ActivityTraceId, ActivityTraceId) Operator

Definition

Determines whether two specified ActivityTraceId instances have the same value.

C#
public static bool operator !=(System.Diagnostics.ActivityTraceId traceId1, System.Diagnostics.ActivityTraceId traceId2);

Parameters

traceId1
ActivityTraceId

The first instance to compare.

traceId2
ActivityTraceId

The second instance to compare.

Returns

true if the TraceId of traceId1 is different from the TraceId of traceId2; otherwise, false.

Applies to

Produkt Versioner
.NET Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)