共用方式為


IWebApp.WarDeployAsync(FileInfo, CancellationToken) 方法

定義

將此 Web 應用程式上的 WAR 檔案部署至 Azure 特製化 Tomcat。

public System.Threading.Tasks.Task WarDeployAsync (System.IO.FileInfo warFile, System.Threading.CancellationToken cancellationToken = default);
abstract member WarDeployAsync : System.IO.FileInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WarDeployAsync (warFile As FileInfo, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

warFile
FileInfo

要上傳的 WAR 檔案。

cancellationToken
CancellationToken

傳回

適用於