Export (0) Print
Expand All

IDuplexSessionChannel Methods

The IDuplexSessionChannel type exposes the following members.

  Name Description
Public method Abort Causes a communication object to transition immediately from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public method BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified timeout. (Inherited from ICommunicationObject.)
Public method BeginOpen(AsyncCallback, Object) Begins an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public method BeginOpen(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to open a communication object within a specified interval of time. (Inherited from ICommunicationObject.)
Public method BeginReceive(AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a state object associated with it. (Inherited from IInputChannel.)
Public method BeginReceive(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it. (Inherited from IInputChannel.)
Public method BeginSend(Message, AsyncCallback, Object) Begins an asynchronous operation to transmit a message to the destination of the output channel. (Inherited from IOutputChannel.)
Public method BeginSend(Message, TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to transmit a message to the destination of the output channel within a specified interval of time. (Inherited from IOutputChannel.)
Public method BeginTryReceive Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it. (Inherited from IInputChannel.)
Public method BeginWaitForMessage Begins an asynchronous wait-for-a-message-to-arrive operation that has a specified time out and state object associated with it. (Inherited from IInputChannel.)
Public method Close() Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method Close(TimeSpan) Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method EndClose Completes an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public method EndOpen Completes an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public method EndReceive Completes an asynchronous operation to receive a message. (Inherited from IInputChannel.)
Public method EndSend Completes an asynchronous operation to transmit a message to the destination of the output channel. (Inherited from IOutputChannel.)
Public method EndTryReceive Completes the specified asynchronous operation to receive a message. (Inherited from IInputChannel.)
Public method EndWaitForMessage Completes the specified asynchronous wait-for-a-message operation. (Inherited from IInputChannel.)
Public method GetProperty<T> Returns a typed object requested, if present, from the appropriate layer in the channel stack. (Inherited from IChannel.)
Public method Open() Causes a communication object to transition from the created state into the opened state. (Inherited from ICommunicationObject.)
Public method Open(TimeSpan) Causes a communication object to transition from the created state into the opened state within a specified interval of time. (Inherited from ICommunicationObject.)
Public method Receive() Returns the message received, if one is available. If a message is not available, blocks for a default interval of time. (Inherited from IInputChannel.)
Public method Receive(TimeSpan) Returns the message received, if one is available. If a message is not available, blocks for a specified interval of time. (Inherited from IInputChannel.)
Public method Send(Message) Transmits a message to the destination of the output channel. (Inherited from IOutputChannel.)
Public method Send(Message, TimeSpan) Sends a message on the current output channel within a specified interval of time. (Inherited from IOutputChannel.)
Public method TryReceive Tries to receive a message within a specified interval of time. (Inherited from IInputChannel.)
Public method WaitForMessage Returns a value that indicates whether a message has arrived within a specified interval of time. (Inherited from IInputChannel.)
Top
Show:
© 2014 Microsoft