IRequestChannel IRequestChannel IRequestChannel IRequestChannel Interface

Definition

Defines the contract that a channel must implement to be on the requesting side of a request-reply communication between messaging endpoints.

public interface class IRequestChannel : System::ServiceModel::Channels::IChannel
public interface IRequestChannel : System.ServiceModel.Channels.IChannel
type IRequestChannel = interface
    interface IChannel
    interface ICommunicationObject
Public Interface IRequestChannel
Implements IChannel
Derived
Implements

Remarks

The IRequestChannel defines synchronous and asynchronous variants of a IRequestChannel.Request method that returns a response message. It also provides a RemoteAddress and Via properties to retrieve the endpoint address and URI to which the request message is sent.

Properties

RemoteAddress RemoteAddress RemoteAddress RemoteAddress

Gets the remote address to which the request channel sends messages.

Via Via Via Via

Gets the transport address to which the request is send.

Methods

BeginRequest(Message, AsyncCallback, Object) BeginRequest(Message, AsyncCallback, Object) BeginRequest(Message, AsyncCallback, Object) BeginRequest(Message, AsyncCallback, Object)

Begins an asynchronous operation to transmit a request message to the reply side of a request-reply message exchange.

BeginRequest(Message, TimeSpan, AsyncCallback, Object) BeginRequest(Message, TimeSpan, AsyncCallback, Object) BeginRequest(Message, TimeSpan, AsyncCallback, Object) BeginRequest(Message, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to transmit a request message to the reply side of a request-reply message exchange within a specified interval of time.

EndRequest(IAsyncResult) EndRequest(IAsyncResult) EndRequest(IAsyncResult) EndRequest(IAsyncResult)

Completes an asynchronous operation to return a message-based response to a transmitted request.

Request(Message) Request(Message) Request(Message) Request(Message)

Sends a message-based request and returns the correlated message-based response.

Request(Message, TimeSpan) Request(Message, TimeSpan) Request(Message, TimeSpan) Request(Message, TimeSpan)

Sends a message-based request and returns the correlated message-based response within a specified interval of time.

Applies to