ערוך

שתף באמצעות


ClientBase<TChannel>.ChannelBase<T>.IRequestChannel.BeginRequest Method

Definition

Begins an asynchronous operation to transmit a request message.

Overloads

IRequestChannel.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.

IRequestChannel.BeginRequest(Message, AsyncCallback, Object)

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

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

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

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.

 virtual IAsyncResult ^ System.ServiceModel.Channels.IRequestChannel.BeginRequest(System::ServiceModel::Channels::Message ^ message, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Channels::IRequestChannel::BeginRequest;
IAsyncResult IRequestChannel.BeginRequest (System.ServiceModel.Channels.Message message, TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.Channels.IRequestChannel.BeginRequest : System.ServiceModel.Channels.Message * TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Channels.IRequestChannel.BeginRequest : System.ServiceModel.Channels.Message * TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginRequest (message As Message, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements IRequestChannel.BeginRequest

Parameters

message
Message

The request message to be transmitted.

timeout
TimeSpan

The timespan that specifies the interval of time within which a response must be received.

callback
AsyncCallback

The AsyncCallback delegate that receives the notification of the completion of the asynchronous operation transmitting a request message.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous operation transmitting a request message.

Returns

The IAsyncResult that references the asynchronous message transmission.

Implements

Applies to

IRequestChannel.BeginRequest(Message, AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

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

 virtual IAsyncResult ^ System.ServiceModel.Channels.IRequestChannel.BeginRequest(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Channels::IRequestChannel::BeginRequest;
IAsyncResult IRequestChannel.BeginRequest (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
abstract member System.ServiceModel.Channels.IRequestChannel.BeginRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Channels.IRequestChannel.BeginRequest : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginRequest (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IRequestChannel.BeginRequest

Parameters

message
Message

The request message to be transmitted.

callback
AsyncCallback

The AsyncCallback delegate that receives the notification of the completion of the asynchronous operation transmitting a request message.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous operation transmitting a request message.

Returns

The IAsyncResult that references the asynchronous message transmission.

Implements

Applies to