WebClient.AllowReadStreamBuffering Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Ottiene o imposta un valore che indica se memorizzare nel buffer i dati letti dalla risorsa Internet per un'istanza WebClient di .
public:
property bool AllowReadStreamBuffering { bool get(); void set(bool value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public bool AllowReadStreamBuffering { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.AllowReadStreamBuffering : bool with get, set
Public Property AllowReadStreamBuffering As Boolean
Valore della proprietà
true per abilitare il buffering dei dati ricevuti dalla risorsa Internet; false per disabilitare il buffering. Il valore predefinito è true.
- Attributi
Commenti
Cautela
WebRequest
ServicePoint, HttpWebRequest, e WebClient sono obsoleti e non è consigliabile usarli per il nuovo sviluppo. Utilizzare invece HttpClient.
Quando la AllowReadStreamBuffering proprietà è true, i dati vengono memorizzati nel buffer in memoria in modo che siano pronti per essere letti dall'app.