azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.functio...

62 строки
3.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.functions.ExecutionContext"
fullName: "com.microsoft.azure.functions.ExecutionContext"
name: "ExecutionContext"
nameWithType: "ExecutionContext"
summary: "The execution context enables interaction with the Azure Functions execution environment."
syntax: "public interface **ExecutionContext**"
methods:
- uid: "com.microsoft.azure.functions.ExecutionContext.getFunctionName()"
fullName: "com.microsoft.azure.functions.ExecutionContext.getFunctionName()"
name: "getFunctionName()"
nameWithType: "ExecutionContext.getFunctionName()"
summary: "Returns the function name."
modifiers:
- "abstract"
syntax: "public abstract String getFunctionName()"
desc: "Returns the function name."
returns:
description: "the function name."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.ExecutionContext.getInvocationId()"
fullName: "com.microsoft.azure.functions.ExecutionContext.getInvocationId()"
name: "getInvocationId()"
nameWithType: "ExecutionContext.getInvocationId()"
summary: "Returns the invocation ID for the function call."
modifiers:
- "abstract"
syntax: "public abstract String getInvocationId()"
desc: "Returns the invocation ID for the function call."
returns:
description: "the invocation ID for the function call."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.ExecutionContext.getLogger()"
fullName: "com.microsoft.azure.functions.ExecutionContext.getLogger()"
name: "getLogger()"
nameWithType: "ExecutionContext.getLogger()"
summary: "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."
modifiers:
- "abstract"
syntax: "public abstract Logger getLogger()"
desc: "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."
returns:
description: "A Java logger that will see output directed to Azure Portal, as well as any other configured output\n locations."
type: "<xref href=\"java.util.logging.Logger?alt=java.util.logging.Logger&text=Logger\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.functions.ExecutionContext.getTraceContext()"
fullName: "com.microsoft.azure.functions.ExecutionContext.getTraceContext()"
name: "getTraceContext()"
nameWithType: "ExecutionContext.getTraceContext()"
summary: "Returns the trace context."
modifiers:
- "default"
syntax: "public default TraceContext getTraceContext()"
desc: "Returns the trace context."
returns:
description: "the trace context"
type: "<xref href=\"com.microsoft.azure.functions.TraceContext?alt=com.microsoft.azure.functions.TraceContext&text=TraceContext\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The execution context enables interaction with the Azure Functions execution environment."
metadata: {}
package: "com.microsoft.azure.functions"
artifact: com.microsoft.azure.functions:azure-functions-java-library:1.3.1