IDuplexContextChannel IDuplexContextChannel IDuplexContextChannel IDuplexContextChannel Interface

Definition

Defines the interface a client channel must implement to exchange messages in a duplex session.

public interface class IDuplexContextChannel : System::ServiceModel::IContextChannel, System::ServiceModel::IExtensibleObject<System::ServiceModel::IContextChannel ^>
public interface IDuplexContextChannel : System.ServiceModel.IContextChannel, System.ServiceModel.IExtensibleObject<System.ServiceModel.IContextChannel>
type IDuplexContextChannel = interface
    interface IContextChannel
    interface IChannel
    interface ICommunicationObject
    interface IExtensibleObject<IContextChannel>
Public Interface IDuplexContextChannel
Implements IContextChannel, IExtensibleObject(Of IContextChannel)
Implements

Remarks

A duplex contract requires a session, because a context must be established to correlate the set of messages being sent between the client and the service.

Properties

AutomaticInputSessionShutdown AutomaticInputSessionShutdown AutomaticInputSessionShutdown AutomaticInputSessionShutdown

Gets or sets a value that indicates whether the input session is shutdown automatically.

CallbackInstance CallbackInstance CallbackInstance CallbackInstance

Gets or sets the instance context associated with the duplex message exchange.

Methods

BeginCloseOutputSession(TimeSpan, AsyncCallback, Object) BeginCloseOutputSession(TimeSpan, AsyncCallback, Object) BeginCloseOutputSession(TimeSpan, AsyncCallback, Object) BeginCloseOutputSession(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close an output session on the client that has a specified time out and state object associated with it.

CloseOutputSession(TimeSpan) CloseOutputSession(TimeSpan) CloseOutputSession(TimeSpan) CloseOutputSession(TimeSpan)

Closes the output session on the client associated with the duplex channel.

EndCloseOutputSession(IAsyncResult) EndCloseOutputSession(IAsyncResult) EndCloseOutputSession(IAsyncResult) EndCloseOutputSession(IAsyncResult)

Completes an asynchronous operation to close an output session on the client.

Applies to