FormFeature.ReadFormAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReadFormAsync() | |
ReadFormAsync(CancellationToken) |
将请求正文分析为窗体。 |
ReadFormAsync()
- Source:
- FormFeature.cs
- Source:
- FormFeature.cs
- Source:
- FormFeature.cs
System.Object.ReadFormAsync
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Http::IFormCollection ^> ^ ReadFormAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection> ReadFormAsync ();
member this.ReadFormAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection>
Public Function ReadFormAsync () As Task(Of IFormCollection)
返回
适用于
ReadFormAsync(CancellationToken)
- Source:
- FormFeature.cs
- Source:
- FormFeature.cs
- Source:
- FormFeature.cs
将请求正文分析为窗体。
public:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Http::IFormCollection ^> ^ ReadFormAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection> ReadFormAsync (System.Threading.CancellationToken cancellationToken);
abstract member ReadFormAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection>
override this.ReadFormAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection>
Public Function ReadFormAsync (cancellationToken As CancellationToken) As Task(Of IFormCollection)
参数
- cancellationToken
- CancellationToken