ExecutionContext Interface

Definition

The execution context enables interaction with the Azure Functions execution environment.

public interface ExecutionContext

Methods

getFunctionName()

Returns the function name.

getInvocationId()

Returns the invocation ID for the function call.

getLogger()

Returns the built-in logger, which is integrated with the logging functionality provided in the Azure Functions portal, as well as in Azure Application Insights.

getTraceContext()

Returns the trace context.

Applies to