FunctionContextBindingFeatureExtensions.BindInputAsync<T> 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.
Binds an input binding item for the requested BindingMetadata instance.
public static System.Threading.Tasks.ValueTask<Microsoft.Azure.Functions.Worker.InputBindingData<T>> BindInputAsync<T> (this Microsoft.Azure.Functions.Worker.FunctionContext context, Microsoft.Azure.Functions.Worker.BindingMetadata bindingMetadata);
static member BindInputAsync : Microsoft.Azure.Functions.Worker.FunctionContext * Microsoft.Azure.Functions.Worker.BindingMetadata -> System.Threading.Tasks.ValueTask<Microsoft.Azure.Functions.Worker.InputBindingData<'T>>
<Extension()>
Public Function BindInputAsync(Of T) (context As FunctionContext, bindingMetadata As BindingMetadata) As ValueTask(Of InputBindingData(Of T))
Type Parameters
- T
Parameters
- context
- FunctionContext
The function context.
- bindingMetadata
- BindingMetadata
The BindingMetadata instance for which input data should bound to.
Returns
An instance of InputBindingData<T> which wraps the input binding operation result value.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET