.NET Core function invocation context
Written by
Updated at July 2, 2026
Invocation context is an object that is 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, in MB.RequestId: Returns the request ID.TokenJson: Returns the parameters for authentication with the Yandex Cloud APIs.