C# function invocation context
Written by
Updated at December 12, 2023
Invocation context is an object that is optionally accepted by the request handler in case you use the YcFunction interface model. It is a Yandex.Cloud.Functions.Context
type object and it provides properties for getting more information about the C# function version:
FunctionId
: Returns the string ID of the function.FunctionVersion
: Returns the string ID of the function version.MemoryLimitInMB
: Returns the amount of memory specified when creating the version, MB.RequestId
: Returns the ID of the request being handled.TokenJson
: Returns the parameters required for authentication in the Yandex Cloud API.