TriggeredWebJobOperationsExtensions.UploadFile Method
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.
Create or replace a triggered WebJob with a script file (.exe, .bat, .php, .js...).
public static Microsoft.Azure.AzureOperationResponse UploadFile (this Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations operations, string jobName, string fileName, System.IO.Stream jobContent);
static member UploadFile : Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations * string * string * System.IO.Stream -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function UploadFile (operations As ITriggeredWebJobOperations, jobName As String, fileName As String, jobContent As Stream) As AzureOperationResponse
Parameters
- operations
- ITriggeredWebJobOperations
Reference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
- jobName
- String
Required. The triggered WebJob name.
- fileName
- String
Required. The file name.
- jobContent
- Stream
Required. The file content.
Returns
Microsoft.Azure.AzureOperationResponse
A standard service response including an HTTP status code and request ID.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET