FormFeature.ReadForm 方法

定义

将请求正文分析为窗体。

如果以前未读取请求正文,则此 API 会执行同步 (阻止) HTTP 输入流上读取,这可能不受支持,或者可能会对应用程序性能产生负面影响。 请考虑改用 ReadFormAsync(CancellationToken)

public:
 virtual Microsoft::AspNetCore::Http::IFormCollection ^ ReadForm();
public Microsoft.AspNetCore.Http.IFormCollection ReadForm ();
abstract member ReadForm : unit -> Microsoft.AspNetCore.Http.IFormCollection
override this.ReadForm : unit -> Microsoft.AspNetCore.Http.IFormCollection
Public Function ReadForm () As IFormCollection

返回

IFormCollection

实现

适用于