ClientBase<TChannel>.ICommunicationObject.Close 方法

定義

多載

ICommunicationObject.Close(TimeSpan)

導致 ClientBase<TChannel> 物件從目前的狀態轉換為已關閉狀態。

ICommunicationObject.Close()

導致通訊物件從目前的狀態轉換為已關閉狀態。

ICommunicationObject.Close(TimeSpan)

導致 ClientBase<TChannel> 物件從目前的狀態轉換為已關閉狀態。

 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

參數

timeout
TimeSpan

必須完成呼叫的期間。

實作

備註

如需詳細資訊,請參閱System.ServiceModel.Channels.CommunicationObject

適用於

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

實作

備註

這個成員是明確介面成員實作, 只有在 ClientBase<TChannel> 執行個體轉換成 ICommunicationObject 介面時,才能使用這個成員。

適用於