Partilhar via


ActivityTraceId.Equality(ActivityTraceId, ActivityTraceId) Operador

Definição

Determina se duas instâncias de ActivityTraceId especificadas têm o mesmo valor.

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

Parâmetros

traceId1
ActivityTraceId

A primeira instância a ser comparada.

traceId2
ActivityTraceId

A segunda instância a ser comparada.

Retornos

true se o TraceId de traceId1 for o mesmo que o TraceId de traceId2; caso contrário, false.

Aplica-se a