IDuplexContextChannel Interface
TOC
Collapse the table of content
Expand the table of content

IDuplexContextChannel Interface

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public interface IDuplexContextChannel : IContextChannel, IChannel, 
	ICommunicationObject, IExtensibleObject<IContextChannel>

NameDescription
System_CAPS_pubpropertyAllowOutputBatching

Gets or sets a value that instructs Windows Communication Foundation (WCF) to store a set of messages before giving the messages to the transport.(Inherited from IContextChannel.)

System_CAPS_pubpropertyAutomaticInputSessionShutdown

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

System_CAPS_pubpropertyCallbackInstance

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

System_CAPS_pubpropertyExtensions

Gets a collection of extension objects for this extensible object.(Inherited from IExtensibleObject<T>.)

System_CAPS_pubpropertyInputSession

Gets the input session for the channel.(Inherited from IContextChannel.)

System_CAPS_pubpropertyLocalAddress

Gets the local endpoint for the channel.(Inherited from IContextChannel.)

System_CAPS_pubpropertyOperationTimeout

Gets or sets the time period within which an operation must complete or an exception is thrown.(Inherited from IContextChannel.)

System_CAPS_pubpropertyOutputSession

Gets the output session associated with the channel, if any.(Inherited from IContextChannel.)

System_CAPS_pubpropertyRemoteAddress

Gets the remote address associated with the channel.(Inherited from IContextChannel.)

System_CAPS_pubpropertySessionId

Returns an identifier for the current session, if any.(Inherited from IContextChannel.)

System_CAPS_pubpropertyState

Gets the current state of the communication-oriented object.(Inherited from ICommunicationObject.)

NameDescription
System_CAPS_pubmethodAbort()

Causes a communication object to transition immediately from its current state into the closed state. (Inherited from ICommunicationObject.)

System_CAPS_pubmethodBeginClose(AsyncCallback, Object)

Begins an asynchronous operation to close a communication object.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodBeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close a communication object with a specified timeout.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodBeginCloseOutputSession(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.

System_CAPS_pubmethodBeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open a communication object.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodBeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open a communication object within a specified interval of time.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodClose()

Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)

System_CAPS_pubmethodClose(TimeSpan)

Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)

System_CAPS_pubmethodCloseOutputSession(TimeSpan)

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

System_CAPS_pubmethodEndClose(IAsyncResult)

Completes an asynchronous operation to close a communication object.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodEndCloseOutputSession(IAsyncResult)

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

System_CAPS_pubmethodEndOpen(IAsyncResult)

Completes an asynchronous operation to open a communication object.(Inherited from ICommunicationObject.)

System_CAPS_pubmethodGetProperty<T>()

Returns a typed object requested, if present, from the appropriate layer in the channel stack.(Inherited from IChannel.)

System_CAPS_pubmethodOpen()

Causes a communication object to transition from the created state into the opened state. (Inherited from ICommunicationObject.)

System_CAPS_pubmethodOpen(TimeSpan)

Causes a communication object to transition from the created state into the opened state within a specified interval of time.(Inherited from ICommunicationObject.)

NameDescription
System_CAPS_pubeventClosed

Occurs when the communication object completes its transition from the closing state into the closed state.(Inherited from ICommunicationObject.)

System_CAPS_pubeventClosing

Occurs when the communication object first enters the closing state.(Inherited from ICommunicationObject.)

System_CAPS_pubeventFaulted

Occurs when the communication object first enters the faulted state.(Inherited from ICommunicationObject.)

System_CAPS_pubeventOpened

Occurs when the communication object completes its transition from the opening state into the opened state.(Inherited from ICommunicationObject.)

System_CAPS_pubeventOpening

Occurs when the communication object first enters the opening state.(Inherited from ICommunicationObject.)

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft