ContinuousWebJobOperationsExtensions.UploadFileAsync 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 continuous WebJob with a script file (.exe, .bat, .php, .js...).
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UploadFileAsync (this Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations operations, string jobName, string fileName, System.IO.Stream jobContent);
static member UploadFileAsync : Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations * string * string * System.IO.Stream -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UploadFileAsync (operations As IContinuousWebJobOperations, jobName As String, fileName As String, jobContent As Stream) As Task(Of AzureOperationResponse)
Parameters
- operations
- IContinuousWebJobOperations
Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
- jobName
- String
Required. The continuous WebJob name.
- fileName
- String
Required. The file name.
- jobContent
- Stream
Required. The file content.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET