dotnet / dotnet/dotnet-api-docs

Code example should not use APM

Aperta
#925 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area-System.IO dotnet-api/prod Pri2 untriaged
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
2g 19h
PR unite (30g)
52

Descrizione

The code example for this page uses the APM (as can be seen from it calling `EndRead`). Since APM is not recommended anymore, I think examples should not use it (unless they have to).

Fixing this would involve changing this page, the larger example in the `FileStream` constructor and also other pages that use this example, if any.

---
#### Document Details

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

* ID: e7cc1aa5-01fa-daaf-29e9-629c764c06c0
* Version Independent ID: 89fad939-286b-4cd6-dfb3-5f3cc1c893de
* Content: [FileStream.Name Property (System.IO)](https://docs.microsoft.com/en-us/dotnet/api/system.io.filestream.name?redirectedfrom=MSDN&view=netframework-4.7.2#System_IO_FileStream_Name)
* Content Source: [xml/System.IO/FileStream.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.IO/FileStream.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Esamina xml/System.IO/FileStream.xml e l’esempio più ampio nella documentazione del costruttore FileStream. Cerca EndRead e le copie correlate dell’esempio nel repository, quindi aggiorna gli esempi che usano APM quando non è necessario; il lavoro è completato quando la documentazione interessata non raccomanda più APM.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.