CommunicationObject.IsDisposed 屬性

定義

取得值,這個值會指出是否已經處置通訊物件。Gets a value that indicates whether the communication object has been disposed.

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

屬性值

如果通訊物件處於已關閉狀態,則為 true,否則為 falsetrue if the communication object is in a closed state; otherwise, false.

備註

當發生 Closed 事件時,就會將物件視為已處置。An object is considered disposed when the Closed event occurs.

適用於