IDuplexSessionChannel Members

Defines the interface that associates a duplex channel with a session.

The IDuplexSessionChannel type exposes the following members.

  NameDescription
Public method Abort Causes a communication object to transition immediately from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method BeginClose Overloaded. Begins an asynchronous operation to close a communication object.
Public method BeginOpen Overloaded. Begins an asynchronous operation to close a communication object.
Public method BeginReceive Overloaded. Begins an asynchronous receive operation.
Public method BeginSend Overloaded. Begins an asynchronous operation to send a message.
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 Overloaded. Causes a communication object to transition from its current state into the closed state.
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 Overloaded. Causes a communication object to transition from the created state into the opened state.
Public method Receive Overloaded. Returns a message received by the input channel, if one is available with an interval of time that is explicitly or implicitly defined.
Public method Send Overloaded. Sends a message on the current output channel.
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

  NameDescription
Public property LocalAddress Gets the address on which the input channel receives messages. (Inherited from IInputChannel.)
Public property RemoteAddress Gets the destination of the service to which messages are sent out on the output channel. (Inherited from IOutputChannel.)
Public property Session Gets the type of session associated with this channel. (Inherited from ISessionChannel<TSession>.)
Public property State Gets the current state of the communication-oriented object. (Inherited from ICommunicationObject.)
Public property Via Gets the URI that contains the transport address to which messages are sent on the output channel. (Inherited from IOutputChannel.)
Top

  NameDescription
Public event Closed Occurs when the communication object completes its transition from the closing state into the closed state. (Inherited from ICommunicationObject.)
Public event Closing Occurs when the communication object first enters the closing state. (Inherited from ICommunicationObject.)
Public event Faulted Occurs when the communication object first enters the faulted state. (Inherited from ICommunicationObject.)
Public event Opened Occurs when the communication object completes its transition from the opening state into the opened state. (Inherited from ICommunicationObject.)
Public event Opening Occurs when the communication object first enters the opening state. (Inherited from ICommunicationObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft