.NET Core function invocation context
Written by
Updated at March 31, 2026
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:
FunctionFolderId: Returns the folder containing the function.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.