次の方法で共有


StartTask コンストラクター

定義

オーバーロード

StartTask()

StartTask クラスの新しいインスタンスを初期化します。

StartTask(String, IList<ResourceFile>, IList<EnvironmentSetting>, UserIdentity, Nullable<Int32>, Nullable<Boolean>, TaskContainerSettings)

StartTask クラスの新しいインスタンスを初期化します。

StartTask()

StartTask クラスの新しいインスタンスを初期化します。

public StartTask();
Public Sub New ()

適用対象

StartTask(String, IList<ResourceFile>, IList<EnvironmentSetting>, UserIdentity, Nullable<Int32>, Nullable<Boolean>, TaskContainerSettings)

StartTask クラスの新しいインスタンスを初期化します。

public StartTask(string commandLine = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ResourceFile> resourceFiles = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.EnvironmentSetting> environmentSettings = default, Microsoft.Azure.Management.Batch.Models.UserIdentity userIdentity = default, int? maxTaskRetryCount = default, bool? waitForSuccess = default, Microsoft.Azure.Management.Batch.Models.TaskContainerSettings containerSettings = default);
new Microsoft.Azure.Management.Batch.Models.StartTask : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ResourceFile> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.EnvironmentSetting> * Microsoft.Azure.Management.Batch.Models.UserIdentity * Nullable<int> * Nullable<bool> * Microsoft.Azure.Management.Batch.Models.TaskContainerSettings -> Microsoft.Azure.Management.Batch.Models.StartTask
Public Sub New (Optional commandLine As String = Nothing, Optional resourceFiles As IList(Of ResourceFile) = Nothing, Optional environmentSettings As IList(Of EnvironmentSetting) = Nothing, Optional userIdentity As UserIdentity = Nothing, Optional maxTaskRetryCount As Nullable(Of Integer) = Nothing, Optional waitForSuccess As Nullable(Of Boolean) = Nothing, Optional containerSettings As TaskContainerSettings = Nothing)

パラメーター

commandLine
String

開始タスクのコマンド ライン。

resourceFiles
IList<ResourceFile>

コマンド ラインを実行する前に Batch サービスがコンピューティング ノードにダウンロードするファイルの一覧。

environmentSettings
IList<EnvironmentSetting>

開始タスクの環境変数設定の一覧。

userIdentity
UserIdentity

開始タスクを実行するユーザー ID。

maxTaskRetryCount
Nullable<Int32>

タスクを再試行できる最大回数。

waitForSuccess
Nullable<Boolean>

コンピューティング ノード上のタスクをスケジュールする前に、Batch サービスが開始タスクが正常に完了するまで待機する必要があるかどうか (つまり、終了コード 0 で終了する)。

containerSettings
TaskContainerSettings

開始タスクを実行するコンテナーの設定。

適用対象