ClientBase<TChannel>.ICommunicationObject.Open 方法

定義

多載

ICommunicationObject.Open()

導致通訊物件從已建立狀態轉換為已開啟狀態。

ICommunicationObject.Open(TimeSpan)

在指定時間間隔內,導致 ClientBase<TChannel> 物件從已建立狀態轉換為已開啟狀態。

ICommunicationObject.Open()

導致通訊物件從已建立狀態轉換為已開啟狀態。

 virtual void System.ServiceModel.ICommunicationObject.Open() = System::ServiceModel::ICommunicationObject::Open;
void ICommunicationObject.Open ();
abstract member System.ServiceModel.ICommunicationObject.Open : unit -> unit
override this.System.ServiceModel.ICommunicationObject.Open : unit -> unit
Sub Open () Implements ICommunicationObject.Open

實作

備註

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

適用於

ICommunicationObject.Open(TimeSpan)

在指定時間間隔內,導致 ClientBase<TChannel> 物件從已建立狀態轉換為已開啟狀態。

 virtual void System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout) = System::ServiceModel::ICommunicationObject::Open;
void ICommunicationObject.Open (TimeSpan timeout);
abstract member System.ServiceModel.ICommunicationObject.Open : TimeSpan -> unit
override this.System.ServiceModel.ICommunicationObject.Open : TimeSpan -> unit
Sub Open (timeout As TimeSpan) Implements ICommunicationObject.Open

參數

timeout
TimeSpan

必須完成呼叫的期間。

實作

備註

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

適用於