CancellationToken.Inequality(CancellationToken, CancellationToken) CancellationToken.Inequality(CancellationToken, CancellationToken) CancellationToken.Inequality(CancellationToken, CancellationToken) CancellationToken.Inequality(CancellationToken, CancellationToken) Operator

定義

2 つの CancellationToken インスタンスが等しくないかどうかを判断します。Determines whether two CancellationToken instances are not equal.

public:
 static bool operator !=(System::Threading::CancellationToken left, System::Threading::CancellationToken right);
public static bool operator != (System.Threading.CancellationToken left, System.Threading.CancellationToken right);
static member op_Inequality : System.Threading.CancellationToken * System.Threading.CancellationToken -> bool
Public Shared Operator != (left As CancellationToken, right As CancellationToken) As Boolean

パラメーター

left
CancellationToken CancellationToken CancellationToken CancellationToken

1 つ目のインスタンス。The first instance.

right
CancellationToken CancellationToken CancellationToken CancellationToken

2 つ目のインスタンス。The second instance.

戻り値

インスタンスが等しくない場合は true。それ以外の場合は falsetrue if the instances are not equal; otherwise, false.

例外

関連付けられている CancellationTokenSource は破棄されています。An associated CancellationTokenSource has been disposed.

注釈

等しいかどうかの定義を参照してください、Equalsメソッド。For the definition of equality, see the Equals method.

適用対象

こちらもご覧ください