TriggeredWebJobOperationsExtensions.UploadFile Method (ITriggeredWebJobOperations, String, String, Stream)
Create or replace a triggered WebJob with a script file (.exe, .bat, .php, .js...).
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static OperationResponse UploadFile(
this ITriggeredWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadFile(
ITriggeredWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
static member UploadFile :
operations:ITriggeredWebJobOperations *
jobName:string *
fileName:string *
jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadFile (
operations As ITriggeredWebJobOperations,
jobName As String,
fileName As String,
jobContent As Stream
) As OperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperationsReference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
jobName
Type: System.StringRequired. The triggered WebJob name.
fileName
Type: System.StringRequired. The file name.
jobContent
Type: System.IO.StreamRequired. The file content.
Return Value
Type: Microsoft.WindowsAzure.OperationResponse
A standard service response including an HTTP status code and request ID.
See Also
TriggeredWebJobOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top