HttpRequest.ReadEntityBodyMode Propriedade

Definição

Obtém um valor que indica se o corpo da entidade de solicitação foi lido e, em caso afirmativo, como ele foi lido.Gets a value that indicates whether the request entity body has been read, and if so, how it was read.

public:
 property System::Web::ReadEntityBodyMode ReadEntityBodyMode { System::Web::ReadEntityBodyMode get(); };
public System.Web.ReadEntityBodyMode ReadEntityBodyMode { get; }
member this.ReadEntityBodyMode : System.Web.ReadEntityBodyMode
Public ReadOnly Property ReadEntityBodyMode As ReadEntityBodyMode

Valor da propriedade

ReadEntityBodyMode

O valor que indica como o corpo da entidade de solicitação foi lido ou se ele não foi lido.The value that indicates how the request entity body was read, or that it has not been read.

Comentários

Esse método é usado para evitar a exceção que é gerada se o corpo da entidade já foi lido e é feita uma tentativa de lê-lo usando um método incompatível.This method is used to avoid the exception that is thrown if the entity body has already been read and an attempt is made to read it by using an incompatible method. Os métodos e as propriedades que lêem o corpo da entidade incluem o seguinte:Methods and properties that read the entity body include the following:

Aplica-se a