Método ContinuousWebJobOperationsExtensions.UploadFile (IContinuousWebJobOperations, String, String, Stream)
Criar ou substituir um trabalho de Web contínuo com um arquivo de script (.exe,. bat,. PHP,.... js).
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)
Sintaxe
public static OperationResponse UploadFile(
this IContinuousWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadFile(
IContinuousWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
static member UploadFile :
operations:IContinuousWebJobOperations *
jobName:string *
fileName:string *
jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadFile (
operations As IContinuousWebJobOperations,
jobName As String,
fileName As String,
jobContent As Stream
) As OperationResponse
Parâmetros
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperationsReferência para o Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
jobName
Type: System.StringObrigatório. O nome do trabalho Web contínuo.
fileName
Type: System.StringObrigatório. O nome do arquivo.
jobContent
Type: System.IO.StreamObrigatório. O conteúdo do arquivo.
Valor de retorno
Type: Microsoft.WindowsAzure.OperationResponse
Uma resposta de serviço padrão, incluindo uma ID de solicitação e o código de status HTTP.
Consulte também
Classe ContinuousWebJobOperationsExtensions
Namespace Microsoft.WindowsAzure
Retornar ao topo