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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET