你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Context Class

Function invocation context.

Constructor

Context()

Attributes

function_directory

Function directory.

abstract property function_directory: str

function_name

Function name.

abstract property function_name: str

invocation_id

Function invocation ID.

abstract property invocation_id: str

retry_context

Context for retries to the function.

abstract property retry_context: RetryContext

thread_local_storage

Thread local storage.

abstract property thread_local_storage: Type[_local]

trace_context

Context for distributed tracing.

abstract property trace_context: TraceContext