次の方法で共有


CloudTask コンストラクター

定義

オーバーロード

CloudTask()

クラスのモックをサポートする既定の CloudTask コンストラクター。

CloudTask(String, String)

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

CloudTask()

クラスのモックをサポートする既定の CloudTask コンストラクター。

protected CloudTask ();
Protected Sub New ()

適用対象

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>)します。

適用対象