ClientBase<TChannel>.ChannelBase<T>.IOutputChannel.BeginSend Method

Definition

Begins an asynchronous operation to transmit a message.

Overloads

IOutputChannel.BeginSend(Message, AsyncCallback, Object)

Begins an asynchronous operation to transmit a message to the destination of the output channel.

IOutputChannel.BeginSend(Message, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to transmit a message to the destination of the output channel within a specified interval of time.

IOutputChannel.BeginSend(Message, AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

Begins an asynchronous operation to transmit a message to the destination of the output channel.

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

Parameters

message
Message

The message being sent on the output channel.

callback
AsyncCallback

The AsyncCallback delegate.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous send operation.

Returns

The IAsyncResult that references the asynchronous message transmission.

Implements

Applies to

IOutputChannel.BeginSend(Message, TimeSpan, AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

Begins an asynchronous operation to transmit a message to the destination of the output channel within a specified interval of time.

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

Parameters

message
Message

The message being sent on the output channel.

timeout
TimeSpan

The timespan that specifies how long the send operation has to complete before timing out.

callback
AsyncCallback

The AsyncCallback delegate that receives the notification of the asynchronous operation send completion.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous send operation.

Returns

The IAsyncResult that references the asynchronous send operation.

Implements

Applies to