Share via


FunctionContextBindingFeatureExtensions.GetInvocationResult Method

Definition

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)

Source:
FunctionContextBindingFeatureExtensions.cs

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)

Source:
FunctionContextBindingFeatureExtensions.cs

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.

Applies to