表示取消語彙基元來源的登錄。
命名空間/模組路徑:System.Threading
組件:FSharp.Core (在 FSharp.Core.dll 中)
[<CustomEquality>]
[<NoComparison>]
type CancellationTokenRegistration =
struct
interface IDisposable
member this.Dispose : unit -> unit
member this.Equals : CancellationTokenRegistration -> bool
static member ( = ) : CancellationTokenRegistration * CancellationTokenRegistration -> bool
static member ( <> ) : CancellationTokenRegistration * CancellationTokenRegistration -> bool
end
備註
此型別僅可搭配以 .NET Framework 2.0 為目標的 F# 執行階段使用。 如果您使用的.NET Framework 4,使用.NET Framework 4 型別具有相同的名稱 CancellationTokenRegistration
執行個體成員
成員 |
說明 |
|---|---|
釋放與登錄相關聯的資源。 |
|
與另一個登錄的相等比較。 |
靜態成員
成員 |
說明 |
|---|---|
登錄的不相等運算子。 |
|
登錄的等號比較運算子。 |
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本資訊
F# 執行階段
支援版本:2.0
Silverlight
支援版本:3