Method IBindableFromHttpContext<UploadedFile>.BindAsync
IBindableFromHttpContext<UploadedFile>.BindAsync(HttpContext, ParameterInfo)
Binds the uploaded file parameter of the handler of a chunked upload.
Declaration
static ValueTask<UploadedFile?> IBindableFromHttpContext<UploadedFile>.BindAsync(HttpContext context, ParameterInfo parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | |
| ParameterInfo | parameter |
Returns
| Type | Description |
|---|---|
| ValueTask<UploadedFile> |
Implements
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The parameter is not a parameter of the handler of a chunked upload. |