Compartir por


WebClient.AllowReadStreamBuffering Propiedad

Definición

Precaución

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Obtiene o establece un valor que indica si se van a almacenar en búfer los datos leídos del recurso de Internet para una WebClient instancia de .

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

Valor de propiedad

true para habilitar el almacenamiento en búfer de los datos recibidos del recurso de Internet; false para deshabilitar el almacenamiento en búfer. El valor predeterminado es true.

Atributos

Comentarios

Cautela

WebRequest, HttpWebRequest, ServicePointy WebClient están obsoletos y no debe usarlos para el nuevo desarrollo. Use HttpClient en su lugar.

Cuando la AllowReadStreamBuffering propiedad es true, los datos se almacena en búfer en la memoria, por lo que la aplicación está listo para leerlos.

Se aplica a