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
Source:
netstandard.cs

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

C#
IAsyncResult IOutputChannel.BeginSend (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);

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

.NET 9 (package-provided) 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0

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

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

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

C#
IAsyncResult IOutputChannel.BeginSend (System.ServiceModel.Channels.Message message, TimeSpan timeout, AsyncCallback callback, object state);

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

.NET 9 (package-provided) 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0