CloudTask コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
CloudTask() |
クラスのモックをサポートする既定の CloudTask コンストラクター。 |
CloudTask(String, String) |
CloudTask クラスの新しいインスタンスを初期化します。 |
CloudTask()
CloudTask(String, String)
CloudTask クラスの新しいインスタンスを初期化します。
public CloudTask (string id, string commandline);
new Microsoft.Azure.Batch.CloudTask : string * string -> Microsoft.Azure.Batch.CloudTask
Public Sub New (id As String, commandline As String)
パラメーター
- id
- String
タスクの ID です。
- commandline
- String
タスクのコマンド ライン。
注釈
新しく作成された CloudTask は、最初は Batch サービスのどのタスクにも関連付けされません。 ジョブに関連付けて Batch サービスに送信するには、 を使用 AddTaskAsync(String, IEnumerable<CloudTask>, BatchClientParallelOptions, ConcurrentBag<ConcurrentDictionary<Type,IFileStagingArtifact>>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)します。