共用方式為


CommunicationObject.IsDisposed 屬性

定義

取得值,這個值會指出是否已經處置通訊物件。

protected:
 property bool IsDisposed { bool get(); };
protected bool IsDisposed { get; }
member this.IsDisposed : bool
Protected ReadOnly Property IsDisposed As Boolean

屬性值

如果通訊物件處於已關閉狀態,則為 true,否則為 false

備註

當發生 Closed 事件時,就會將物件視為已處置。

適用於