
## BeginSaveMessage (1 of 24) {#beginsavemessage_1}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |

---

## BeginSaveMessage (2 of 24) {#beginsavemessage_2}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (3 of 24) {#beginsavemessage_3}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (4 of 24) {#beginsavemessage_4}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::String fileName)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |

---

## BeginSaveMessage (5 of 24) {#beginsavemessage_5}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::String fileName, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (6 of 24) {#beginsavemessage_6}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(int32_t sequenceNumber, System::String fileName, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (7 of 24) {#beginsavemessage_7}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |

---

## BeginSaveMessage (8 of 24) {#beginsavemessage_8}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (9 of 24) {#beginsavemessage_9}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (10 of 24) {#beginsavemessage_10}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::String fileName)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |

---

## BeginSaveMessage (11 of 24) {#beginsavemessage_11}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::String fileName, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (12 of 24) {#beginsavemessage_12}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::String fileName, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (13 of 24) {#beginsavemessage_13}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |

---

## BeginSaveMessage (14 of 24) {#beginsavemessage_14}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (15 of 24) {#beginsavemessage_15}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (16 of 24) {#beginsavemessage_16}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::String fileName)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |

---

## BeginSaveMessage (17 of 24) {#beginsavemessage_17}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::String fileName, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (18 of 24) {#beginsavemessage_18}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::String fileName, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (19 of 24) {#beginsavemessage_19}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |

---

## BeginSaveMessage (20 of 24) {#beginsavemessage_20}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (21 of 24) {#beginsavemessage_21}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginSaveMessage (22 of 24) {#beginsavemessage_22}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::String fileName)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |

---

## BeginSaveMessage (23 of 24) {#beginsavemessage_23}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::String fileName, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginSaveMessage (24 of 24) {#beginsavemessage_24}

Begins SaveMessage operation asynchronously

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

```cpp
BeginSaveMessage(System::String uniqueId, System::String fileName, System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

