## Socket::EndConnect method


等待指定的异步连接操作完成。

```cpp
void System::Net::Sockets::Socket::EndConnect(System::SharedPtr<IAsyncResult> asyncResult)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| asyncResult | System::SharedPtr\<IAsyncResult\> | 一个表示异步连接操作的 [IAsyncResult](../../../system/iasyncresult/) 对象。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IAsyncResult](../../../system/iasyncresult/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Page for C++](../../../)
