CancellationTokenRegistration.Inequality(CancellationTokenRegistration, CancellationTokenRegistration) 運算子

定義

判斷兩個 CancellationTokenRegistration 執行個體是否不相等。Determines whether two CancellationTokenRegistration instances are not equal.

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

參數

left
CancellationTokenRegistration

第一個執行個體。The first instance.

right
CancellationTokenRegistration

第二個執行個體。The second instance.

傳回

如果執行個體不相等,則為 true;否則為 falsetrue if the instances are not equal; otherwise, false.

適用於

另請參閱