dotnet / dotnet/dotnet-api-docs

Failed Connections

Open
#1,431 6 comments 0 reactions 0 assignees View on GitHub
area-System.Net doc-enhancement dotnet-api/prod Pri2
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

What do we expect on a failed connection? Would it be a cancelled `Task` or a faulted `Task`?

---
#### Document details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 024a4c4b-33f9-bd6f-a3d2-0815977d59f0
* Version Independent ID: aaa1d5a4-b22a-4dda-4715-fa5bb4d614bf
* Content: [ClientWebSocket.ConnectAsync(Uri, CancellationToken) Method (System.Net.WebSockets)](https://docs.microsoft.com/en-gb/dotnet/api/system.net.websockets.clientwebsocket.connectasync?view=netframework-4.7.2)
* Content Source: [xml/System.Net.WebSockets/ClientWebSocket.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Net.WebSockets/ClientWebSocket.xml)
* Product: **dotnet-api**
* GitHub Login: @karelz
* Microsoft Alias: **ncldev**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.