CancellationToken.GetHashCode CancellationToken.GetHashCode CancellationToken.GetHashCode CancellationToken.GetHashCode Method

定义

作为 CancellationToken 的哈希函数。Serves as a hash function for a CancellationToken.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

返回

当前 CancellationToken 实例的哈希代码。A hash code for the current CancellationToken instance.

适用于