Partajați prin


AsyncStateToken.Equals Method

Definition

Overloads

Equals(AsyncStateToken)

Determines whether this async state token and a specified async state token are identical.

Equals(Object)

Determines whether the specified object is equal to the current async state token.

Equals(AsyncStateToken)

Source:
AsyncStateToken.cs

Determines whether this async state token and a specified async state token are identical.

public:
 virtual bool Equals(Microsoft::Extensions::AsyncState::AsyncStateToken other);
public bool Equals (Microsoft.Extensions.AsyncState.AsyncStateToken other);
override this.Equals : Microsoft.Extensions.AsyncState.AsyncStateToken -> bool
Public Function Equals (other As AsyncStateToken) As Boolean

Parameters

other
AsyncStateToken

The other async state token.

Returns

true if the two async state tokens are identical; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
AsyncStateToken.cs

Determines whether the specified object is equal to the current async state token.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare.

Returns

true if the specified object is identical to the current async state token; otherwise, false.

Applies to