
## BeginLogout (1 of 6) {#beginlogout_1}

Begins to sign in to a server

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

```cpp
BeginLogout()
```

---

## BeginLogout (2 of 6) {#beginlogout_2}

Begins to sign in to a server

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

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

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

---

## BeginLogout (3 of 6) {#beginlogout_3}

Begins to sign in to a server

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

```cpp
BeginLogout(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. |

---

## BeginLogout (4 of 6) {#beginlogout_4}

Begins to sign in to a server

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

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

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

---

## BeginLogout (5 of 6) {#beginlogout_5}

Begins to sign in to a server

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

```cpp
BeginLogout(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. |

---

## BeginLogout (6 of 6) {#beginlogout_6}

Begins to sign in to a server

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

```cpp
BeginLogout(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. |

