AzureFunctionsAppResource Constructors
ClassConstructors1 member
Represents an Azure Functions app resource that is launched from a source directory.
Constructor(string, string, string, AzureFunctionsLanguage) Section titled Constructor(string, string, string, AzureFunctionsLanguage) Represents an Azure Functions app resource that is launched from a source directory.
public class AzureFunctionsAppResource{ public AzureFunctionsAppResource( string name, string command, string appDirectory, AzureFunctionsLanguage language) { // ... }}Parameters
namestringThe name of the resource.commandstringThe command used to start the local Azure Functions app.appDirectory stringThe directory that contains the Azure Functions app.languageAzureExceptions
ArgumentNullExceptionThrown when appDirectory is null.ArgumentExceptionThrown when appDirectory is empty.Remarks
This resource is intended for Azure Functions apps that are not represented by a .NET project file, such as TypeScript or JavaScript Functions apps that run on the Node language worker.