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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.