
## BeginGetMessageHeaders (1 of 12) {#begingetmessageheaders_1}

Begins getting message headers

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

```cpp
BeginGetMessageHeaders(int32_t sequenceNumber)
```

| Parameter | Description |
| --- | --- |
| sequenceNumber | The sequence number of the message |

---

## BeginGetMessageHeaders (2 of 12) {#begingetmessageheaders_2}

Begins getting message headers

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

```cpp
BeginGetMessageHeaders(int32_t sequenceNumber, System::AsyncCallback callback)
```

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

---

## BeginGetMessageHeaders (3 of 12) {#begingetmessageheaders_3}

Begins getting message headers

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

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

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

---

## BeginGetMessageHeaders (4 of 12) {#begingetmessageheaders_4}

Begins getting message headers

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

```cpp
BeginGetMessageHeaders(System::SharedPtr < IConnection > connection, int32_t sequenceNumber)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |

---

## BeginGetMessageHeaders (5 of 12) {#begingetmessageheaders_5}

Begins getting message headers

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

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

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

---

## BeginGetMessageHeaders (6 of 12) {#begingetmessageheaders_6}

Begins getting message headers

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

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

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

---

## BeginGetMessageHeaders (7 of 12) {#begingetmessageheaders_7}

Begins getting message headers

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

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

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique id of the message |

---

## BeginGetMessageHeaders (8 of 12) {#begingetmessageheaders_8}

Begins getting message headers

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

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

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique id of the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginGetMessageHeaders (9 of 12) {#begingetmessageheaders_9}

Begins getting message headers

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

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

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| uniqueId | The unique id of the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginGetMessageHeaders (10 of 12) {#begingetmessageheaders_10}

Begins getting message headers

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

```cpp
BeginGetMessageHeaders(System::String uniqueId)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique id of the message |

---

## BeginGetMessageHeaders (11 of 12) {#begingetmessageheaders_11}

Begins getting message headers

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

```cpp
BeginGetMessageHeaders(System::String uniqueId, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| uniqueId | The unique id of the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginGetMessageHeaders (12 of 12) {#begingetmessageheaders_12}

Begins getting message headers

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

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

| Parameter | Description |
| --- | --- |
| uniqueId | The unique id of the message |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

