.NET Core function invocation context
Written by
Updated at January 22, 2025
Invocation context is an object that can be optionally accepted by the request handler if the YcFunction interface model is used. It is a Yandex.Cloud.Functions.Context
type object providing properties you can use to get 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 request ID.TokenJson
: Returns the parameters for authentication in the Yandex Cloud API.