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

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

实现

适用于