ClientBase<TChannel>.ICommunicationObject.Open Method

Definition

Overloads

ICommunicationObject.Open()
ICommunicationObject.Open(TimeSpan)

在指定時間間隔內,導致 ClientBase<TChannel> 物件從已建立狀態轉換為已開啟狀態。Causes the ClientBase<TChannel> object to transition from the created state into the opened state within a specified interval of time.

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

Implements

ICommunicationObject.Open(TimeSpan)

在指定時間間隔內,導致 ClientBase<TChannel> 物件從已建立狀態轉換為已開啟狀態。Causes the ClientBase<TChannel> object to transition from the created state into the opened state within a specified interval of time.

 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

Parameters

timeout
TimeSpan

必須完成呼叫的期間。The time period within which the call must complete.

Implements

Remarks

如需詳細資訊,請參閱 System.ServiceModel.Channels.CommunicationObjectFor more information, see System.ServiceModel.Channels.CommunicationObject.

Applies to