Udostępnij za pośrednictwem


MessageEncoder.BeginWriteMessage Metoda

Definicja

Uruchamia pisanie komunikatu dla kodera komunikatów z określonym komunikatem, strumieniem, wywołaniem zwrotnym i stanem.

public:
 virtual IAsyncResult ^ BeginWriteMessage(System::ServiceModel::Channels::Message ^ message, System::IO::Stream ^ stream, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginWriteMessage (System.ServiceModel.Channels.Message message, System.IO.Stream stream, AsyncCallback callback, object state);
abstract member BeginWriteMessage : System.ServiceModel.Channels.Message * System.IO.Stream * AsyncCallback * obj -> IAsyncResult
override this.BeginWriteMessage : System.ServiceModel.Channels.Message * System.IO.Stream * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginWriteMessage (message As Message, stream As Stream, callback As AsyncCallback, state As Object) As IAsyncResult

Parametry

message
Message

Komunikat.

stream
Stream

Strumień.

callback
AsyncCallback

Wywołanie zwrotne.

state
Object

Stan.

Zwraca

IAsyncResult

Wynik asynchroniczny operacji.

Dotyczy