Leer en inglés Editar

Compartir a través de


ActivityContext.Equals Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Equals(ActivityContext)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether this instance and a specified ActivityContext object have the same value.

Equals(ActivityContext)

Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(System.Diagnostics.ActivityContext value);

Parameters

value
ActivityContext

The object to compare to this instance.

Returns

true if the current object is equal to the value parameter; otherwise, false.

Implements

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)

Equals(Object)

Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs

Determines whether this instance and a specified ActivityContext object have the same value.

C#
public override bool Equals(object? obj);

Parameters

obj
Object

The object to compare to this instance.

Returns

true if the current object is equal to the obj parameter; otherwise, false.

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)