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.
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.
.NET Framework
Available since 4.5
Available since 4.5
Show: