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 事件时,对象被视为已释放。

适用于