HttpWebRequest.DefaultMaximumErrorResponseLength Propriedade

Definição

Obtém ou define o tamanho máximo padrão de uma resposta de erro HTTP.Gets or sets the default maximum length of an HTTP error response.

public:
 static property int DefaultMaximumErrorResponseLength { int get(); void set(int value); };
public static int DefaultMaximumErrorResponseLength { get; set; }
member this.DefaultMaximumErrorResponseLength : int with get, set
Public Shared Property DefaultMaximumErrorResponseLength As Integer

Valor da propriedade

Int32

O tamanho máximo padrão de uma resposta de erro HTTP.The default maximum length of an HTTP error response.

Exceções

O valor é menor que 0 e não é igual a -1.The value is less than 0 and is not equal to -1.

Aplica-se a