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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.