ClientBase<TChannel>.ChannelBase<T>.ICommunicationObject.Open Method

Definition

让通信对象的状态从“已创建”变成“已打开”。Causes a communication object to transition from the created state into the opened state.

Overloads

ICommunicationObject.Open()

让通信对象的状态从“已创建”变成“已打开”。Causes a communication object to transition from the created state into the opened state.

ICommunicationObject.Open(TimeSpan)

使通信对象在指定时间间隔内从已创建状态转换到已打开状态。Causes a communication object to transition from the created state into the opened state within a specified interval of time.

ICommunicationObject.Open()

让通信对象的状态从“已创建”变成“已打开”。Causes a communication object to transition from the created state into the opened state.

 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)

使通信对象在指定时间间隔内从已创建状态转换到已打开状态。Causes a communication 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 timespan that specifies how long the send operation has to complete before timing out.

Implements

Applies to