dotnet / dotnet/dotnet-api-docs
explain default behavior of ConfigureAwait()
- Lingua principale
- C#
- Stelle
- 949
- Fork
- 1.7k
- Merge medio
- 2g 19h
- PR unite (30g)
- 52
Descrizione
what is the default behavior? will code continue to run on captured context by default or not?
> ...attempt to marshal...
Does that mean attempt may fail? Under what conditions?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: e069a261-9adf-92e6-9b16-8a701968a36d
* Version Independent ID: a12bf93b-1690-1604-20b0-2bf5ca44b372
* Content: [Task.ConfigureAwait(Boolean) Method (System.Threading.Tasks)](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.configureawait?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(System.Threading.Tasks.Task.ConfigureAwait)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%3Dv4.6.1)%3Bk(DevLang-csharp)%26rd%3Dtrue%26f%3D255%26MSPPError%3D-2147217396&view=netframework-4.7.2#feedback)
* Content Source: [xml/System.Threading.Tasks/Task.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Threading.Tasks/Task.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da xml/System.Threading.Tasks/Task.xml e dalla pagina API collegata di Task.ConfigureAwait(Boolean). Verifica il comportamento predefinito del contesto acquisito e quando il marshaling può non riuscire, quindi aggiorna la spiegazione pertinente. Il lavoro è completato quando la documentazione risponde accuratamente a entrambe le domande e la pagina API riflette il chiarimento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100