AnnouncementClient.ICommunicationObject.Close 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使通訊物件從其目前狀態轉換成已關閉狀態。
多載
| 名稱 | Description |
|---|---|
| ICommunicationObject.Close(TimeSpan) |
使通訊物件在指定時間間隔內從當前狀態轉換到封閉狀態。 |
| ICommunicationObject.Close() |
使通訊物件從其目前狀態轉換成已關閉狀態。 |
ICommunicationObject.Close(TimeSpan)
使通訊物件在指定時間間隔內從當前狀態轉換到封閉狀態。
virtual void System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout) = System::ServiceModel::ICommunicationObject::Close;
void ICommunicationObject.Close(TimeSpan timeout);
abstract member System.ServiceModel.ICommunicationObject.Close : TimeSpan -> unit
override this.System.ServiceModel.ICommunicationObject.Close : TimeSpan -> unit
Sub Close (timeout As TimeSpan) Implements ICommunicationObject.Close
參數
實作
適用於
ICommunicationObject.Close()
使通訊物件從其目前狀態轉換成已關閉狀態。
virtual void System.ServiceModel.ICommunicationObject.Close() = System::ServiceModel::ICommunicationObject::Close;
void ICommunicationObject.Close();
abstract member System.ServiceModel.ICommunicationObject.Close : unit -> unit
override this.System.ServiceModel.ICommunicationObject.Close : unit -> unit
Sub Close () Implements ICommunicationObject.Close
實作
備註
此成員為明確介面成員實作。 它只能在實 AnnouncementClient 例投射到 ICommunicationObject 介面時使用。