FormFeature.ReadFormAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadFormAsync() | |
ReadFormAsync(CancellationToken) |
Parses the request body as a form. |
ReadFormAsync()
- 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)
Returns
Applies to
ReadFormAsync(CancellationToken)
- Source:
- FormFeature.cs
- Source:
- FormFeature.cs
Parses the request body as a form.
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)
Parameters
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for