Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft