AsyncFlowControl.Equals Method

Definition

Determines whether two instances are equal.

Overloads

Equals(Object)

Determines whether the specified object is equal to the current AsyncFlowControl structure.

Equals(AsyncFlowControl)

Determines whether the specified AsyncFlowControl structure is equal to the current AsyncFlowControl structure.

Equals(Object)

Source:
ExecutionContext.cs
Source:
ExecutionContext.cs
Source:
ExecutionContext.cs

Determines whether the specified object is equal to the current AsyncFlowControl structure.

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

Parameters

obj
Object

An object to compare with the current structure.

Returns

true if obj is an AsyncFlowControl structure and is equal to the current AsyncFlowControl structure; otherwise, false.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Equals(AsyncFlowControl)

Source:
ExecutionContext.cs
Source:
ExecutionContext.cs
Source:
ExecutionContext.cs

Determines whether the specified AsyncFlowControl structure is equal to the current AsyncFlowControl structure.

C#
public bool Equals(System.Threading.AsyncFlowControl obj);

Parameters

obj
AsyncFlowControl

An AsyncFlowControl structure to compare with the current structure.

Returns

true if obj is equal to the current AsyncFlowControl structure; otherwise, false.

Implements

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1