ApiHubFileTriggerAttribute(String, String, FileWatcherType, Int32) Constructor

Definition

Attribute used to bind a parameter to a SAAS file

public ApiHubFileTriggerAttribute (string connectionStringSetting, string path, Microsoft.Azure.ApiHub.FileWatcherType fileWatcherType = Microsoft.Azure.ApiHub.FileWatcherType.Created, int pollIntervalInSeconds = 0);
new Microsoft.Azure.WebJobs.ApiHubFileTriggerAttribute : string * string * Microsoft.Azure.ApiHub.FileWatcherType * int -> Microsoft.Azure.WebJobs.ApiHubFileTriggerAttribute
Public Sub New (connectionStringSetting As String, path As String, Optional fileWatcherType As FileWatcherType = Microsoft.Azure.ApiHub.FileWatcherType.Created, Optional pollIntervalInSeconds As Integer = 0)

Parameters

connectionStringSetting
String

App settings key name that have the connections string

path
String

Relative path to the file /folder/subfolder/file.txt

fileWatcherType
Microsoft.Azure.ApiHub.FileWatcherType

Type of the file watcher.

pollIntervalInSeconds
Int32

The poll interval in seconds.

Applies to