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

定义

使通信对象从已创建状态转换到已打开状态。

重载

ICommunicationObject.Open(TimeSpan)

使通信对象在指定时间间隔内从已创建状态转换到已打开状态。

ICommunicationObject.Open()

使通信对象从已创建状态转换到已打开状态。

ICommunicationObject.Open(TimeSpan)

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

使通信对象在指定时间间隔内从已创建状态转换到已打开状态。

 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

指定在超时前必须完成发送操作的时间的时间跨度。

实现

适用于

ICommunicationObject.Open()

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

使通信对象从已创建状态转换到已打开状态。

 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>.ChannelBase<T> 实例被强制转换为 ICommunicationObject 接口时使用。

适用于