IDuplexSession.EndCloseOutputSession(IAsyncResult) 方法
定义
完成一个异步操作来终止出站会话,指示不能再在此会话的关联通道上从此终结点发送消息。Completes an asynchronous operation to terminate the outbound session that indicates that no more messages will be sent from this endpoint on the channel associated with the session.
public:
void EndCloseOutputSession(IAsyncResult ^ result);
public void EndCloseOutputSession (IAsyncResult result);
abstract member EndCloseOutputSession : IAsyncResult -> unit
Public Sub EndCloseOutputSession (result As IAsyncResult)
参数
- result
- IAsyncResult
通过调用 IAsyncResult 方法之一返回的 BeginCloseOutputSession。The IAsyncResult returned by a call to one of the BeginCloseOutputSession methods.
注解
终止出站会话不会影响入站会话,因此也不影响从输入通道的关联会话中接收消息Terminating the outbound session does not affect the incoming session and so makes no statement about the ability to receive messages on the session associated with the input channel