ClientBase<TChannel>.ChannelBase<T>.ICommunicationObject.Close 方法

定義

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

多載

ICommunicationObject.Close()

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

ICommunicationObject.Close(TimeSpan)

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

ICommunicationObject.Close()

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

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

 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>.ChannelBase<T> 執行個體轉換成 ICommunicationObject 介面時,才能使用這個成員。

適用於

ICommunicationObject.Close(TimeSpan)

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

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

 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

時間範圍,指定必須在逾時前多久完成傳送作業。

實作

適用於