
## BeginGetNamespaces (1 of 6) {#begingetnamespaces_1}

Begins getting namespaces that are available on a server asynchronously.

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

```cpp
BeginGetNamespaces()
```

---

## BeginGetNamespaces (2 of 6) {#begingetnamespaces_2}

Begins getting namespaces that are available on a server asynchronously.

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

```cpp
BeginGetNamespaces(System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginGetNamespaces (3 of 6) {#begingetnamespaces_3}

Begins getting namespaces that are available on a server asynchronously.

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

```cpp
BeginGetNamespaces(System::AsyncCallback callback, System::SharedPtr < System::Object > state)
```

| Parameter | Description |
| --- | --- |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

---

## BeginGetNamespaces (4 of 6) {#begingetnamespaces_4}

Begins getting namespaces that are available on a server asynchronously.

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

```cpp
BeginGetNamespaces(System::SharedPtr < IConnection > connection)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |

---

## BeginGetNamespaces (5 of 6) {#begingetnamespaces_5}

Begins getting namespaces that are available on a server asynchronously.

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

```cpp
BeginGetNamespaces(System::SharedPtr < IConnection > connection, System::AsyncCallback callback)
```

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| callback | References a method to be called when a corresponding asynchronous operation completes. |

---

## BeginGetNamespaces (6 of 6) {#begingetnamespaces_6}

Begins getting namespaces that are available on a server asynchronously.

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

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

| Parameter | Description |
| --- | --- |
| connection | Connection to a server |
| callback | References a method to be called when a corresponding asynchronous operation completes. |
| state | The state. |

