Freigeben über


ContainerParentJob.SuspendJobAsync Method

Definition

Overloads

SuspendJobAsync()

Suspends all jobs asynchronously. When all jobs have been suspended, SuspendJobCompleted is raised.

SuspendJobAsync(Boolean, String)

Suspends all jobs asynchronously with force flag. When all jobs have been suspended, SuspendJobCompleted is raised.

SuspendJobAsync()

Suspends all jobs asynchronously. When all jobs have been suspended, SuspendJobCompleted is raised.

public:
 override void SuspendJobAsync();
public:
 override void SuspendJobAsync();
 override void SuspendJobAsync();
public override void SuspendJobAsync ();
override this.SuspendJobAsync : unit -> unit
Public Overrides Sub SuspendJobAsync ()

Applies to

SuspendJobAsync(Boolean, String)

Suspends all jobs asynchronously with force flag. When all jobs have been suspended, SuspendJobCompleted is raised.

public:
 override void SuspendJobAsync(bool force, System::String ^ reason);
public:
 override void SuspendJobAsync(bool force, Platform::String ^ reason);
 override void SuspendJobAsync(bool force, std::wstring const & reason);
public override void SuspendJobAsync (bool force, string reason);
override this.SuspendJobAsync : bool * string -> unit
Public Overrides Sub SuspendJobAsync (force As Boolean, reason As String)

Parameters

force
Boolean

Force flag for suspending forcefully.

reason
String

Reason for doing forceful suspend.

Applies to