MessageEncoder::BeginWriteMessage Method (Message^, Stream^, AsyncCallback^, Object^)

.NET Framework (current version)
 

Starts the writing of message for the message encoder with specified message, stream, callback and state.

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

public:
virtual IAsyncResult^ BeginWriteMessage(
	Message^ message,
	Stream^ stream,
	AsyncCallback^ callback,
	Object^ state
)

Parameters

message
Type: System.ServiceModel.Channels::Message^

The message.

stream
Type: System.IO::Stream^

The stream.

callback
Type: System::AsyncCallback^

The callback.

state
Type: System::Object^

The state.

Return Value

Type: System::IAsyncResult^

The asynchronous result of the operation.

.NET Framework
Available since 4.5
Return to top
Show: