共用方式為


TaskStateMonitor Class

Definition

Provides utilities to help monitor CloudTask states.

public class TaskStateMonitor : Microsoft.Azure.Batch.IInheritedBehaviors
type TaskStateMonitor = class
    interface IInheritedBehaviors
Public Class TaskStateMonitor
Implements IInheritedBehaviors
Inheritance
TaskStateMonitor
Implements

Properties

CustomBehaviors

Gets or sets a list of behaviors that modify or customize requests to the Batch service made via this TaskStateMonitor.

Methods

WaitAll(IEnumerable<CloudTask>, TaskState, TimeSpan, ODATAMonitorControl, IEnumerable<BatchClientBehavior>)

Monitors a CloudTask collection until each of its members has reached a desired state at least once.

WhenAll(IEnumerable<CloudTask>, TaskState, CancellationToken, ODATAMonitorControl, IEnumerable<BatchClientBehavior>)

Monitors a CloudTask collection until each of its members has reached a desired state at least once.

WhenAll(IEnumerable<CloudTask>, TaskState, TimeSpan, ODATAMonitorControl, IEnumerable<BatchClientBehavior>)

Monitors a CloudTask collection until each of its members has reached a desired state at least once.

Applies to