BeginSaveMessage

BeginSaveMessage (1 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream)
ParameterDescription
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved

BeginSaveMessage (2 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback)
ParameterDescription
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSaveMessage (3 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSaveMessage (4 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream)
ParameterDescription
connectionConnection to a server
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved

BeginSaveMessage (5 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSaveMessage (6 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
sequenceNumberThe sequence number of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSaveMessage (7 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream)
ParameterDescription
connectionConnection to a server
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved

BeginSaveMessage (8 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback)
ParameterDescription
connectionConnection to a server
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSaveMessage (9 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
connectionConnection to a server
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.

BeginSaveMessage (10 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream)
ParameterDescription
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved

BeginSaveMessage (11 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback)
ParameterDescription
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.

BeginSaveMessage (12 of 12)

Begins SaveMessage operation asynchronously

Returns: System::IAsyncResult that represents the status of an asynchronous operation.

BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > outputStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
ParameterDescription
uniqueIdThe unique Id of the message
outputStreamStream where message will be saved
callbackReferences a method to be called when a corresponding asynchronous operation completes.
stateThe state.