NamedPipeClientStream::ConnectAsync Method (CancellationToken)
.NET Framework (current version)
Asynchronously connects to a waiting server and monitors cancellation requests.
Assembly: System.Core (in System.Core.dll)
Parameters
- cancellationToken
-
Type:
System.Threading::CancellationToken
The token to monitor for cancellation requests. The default value is None.
Return Value
Type: System.Threading.Tasks::Task^A task that represents the asynchronous connect operation.
.NET Framework
Available since 4.6
Available since 4.6
Show: