WaitHandle.InvalidHandle WaitHandle.InvalidHandle WaitHandle.InvalidHandle WaitHandle.InvalidHandle Field

定義

代表無效的原生作業系統控制代碼。Represents an invalid native operating system handle. 此欄位為唯讀。This field is read-only.

protected: static initonly IntPtr InvalidHandle;
protected static readonly IntPtr InvalidHandle;
 staticval mutable InvalidHandle : nativeint
Protected Shared ReadOnly InvalidHandle As IntPtr 

欄位值

備註

在內部用來初始化Handle屬性。Used internally to initialize the Handle property.

給繼承者的注意事項

您可以使用此值來判斷是否Handle屬性包含有效的原生作業系統控制代碼。You can use this value to determine whether the Handle property contains a valid native operating system handle.

適用於