IFunctionActivator.CreateInstance(Type, FunctionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of the provided type to be used as the target of the invocation.
public object? CreateInstance(Type instanceType, Microsoft.Azure.Functions.Worker.FunctionContext context);
abstract member CreateInstance : Type * Microsoft.Azure.Functions.Worker.FunctionContext -> obj
Public Function CreateInstance (instanceType As Type, context As FunctionContext) As Object
Parameters
- context
- FunctionContext
The FunctionContext for the invocation triggering the instance creation.
Returns
The created instance.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET