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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET