ActivityContext.Equals Method

Definition

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 och andra versioner
Produkt Versioner
.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 och andra versioner
Produkt Versioner
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)