共用方式為


CancellationTokenRegistration.Equals 方法 (F#)

與另一個登錄的相等比較。

命名空間/模組路徑:System.Threading

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
member this.Equals : CancellationTokenRegistration -> bool

// Usage:
cancellationTokenRegistration.Equals (registration)

參數

傳回值

如果兩個登錄相等,則為 True。

備註

此 API 僅可搭配 F# 核心程式庫版本以 .NET Framework 2.0 為目標。 如果您要使用 .NET Framework 4,請使用名稱一樣是 Equals 的 .NET Framework 4 API。

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0

請參閱

參考

Threading.CancellationTokenRegistration 結構 (F#)

System.Threading 命名空間 (F#)