HttpRequest.ReadEntityBodyMode HttpRequest.ReadEntityBodyMode HttpRequest.ReadEntityBodyMode HttpRequest.ReadEntityBodyMode Property

定義

取得值,指出是否已讀取要求實體主體,而且如果是的話,如何讀取。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

屬性值

指出要求實體內容的讀取方式(或尚未讀取)的值。The value that indicates how the request entity body was read, or that it has not been read.

備註

這個方法是用來避免實體主體已讀取,而且嘗試使用不相容的方法讀取它時,所擲回的例外狀況。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. 讀取實體主體的方法和屬性包括下列各項:Methods and properties that read the entity body include the following:

適用於