ApiHubFileTriggerAttribute(String, String, FileWatcherType, Int32) Constructor
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.
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
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.