FunctionContextBindingFeatureExtensions.GetInvocationResult 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
GetInvocationResult(FunctionContext) |
Gets the invocation result of the current function invocation. |
GetInvocationResult<T>(FunctionContext) |
Gets the invocation result of the current function invocation. |
GetInvocationResult(FunctionContext)
Gets the invocation result of the current function invocation.
public static Microsoft.Azure.Functions.Worker.InvocationResult GetInvocationResult (this Microsoft.Azure.Functions.Worker.FunctionContext context);
static member GetInvocationResult : Microsoft.Azure.Functions.Worker.FunctionContext -> Microsoft.Azure.Functions.Worker.InvocationResult
<Extension()>
Public Function GetInvocationResult (context As FunctionContext) As InvocationResult
Parameters
- context
- FunctionContext
The function context instance.
Returns
An instance of InvocationResult.
Applies to
GetInvocationResult<T>(FunctionContext)
Gets the invocation result of the current function invocation.
public static Microsoft.Azure.Functions.Worker.InvocationResult<T> GetInvocationResult<T> (this Microsoft.Azure.Functions.Worker.FunctionContext context);
static member GetInvocationResult : Microsoft.Azure.Functions.Worker.FunctionContext -> Microsoft.Azure.Functions.Worker.InvocationResult<'T>
<Extension()>
Public Function GetInvocationResult(Of T) (context As FunctionContext) As InvocationResult(Of T)
Type Parameters
- T
Parameters
- context
- FunctionContext
The function context instance.
Returns
An instance of InvocationResult<T>.
Exceptions
Throws when the invocation result is not of the requested type.