Share via


PSWorkflowJob.StopJobAsync Method

Definition

Overloads

StopJobAsync(Boolean, String, Boolean)

Stop job asynchronously

StopJobAsync()

Stop a job asynchronously

StopJobAsync(Boolean, String)

Stop Job Asynchronously

StopJobAsync(Boolean, String, Boolean)

Stop job asynchronously

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

Parameters

force
Boolean

True to force stop

reason
String

Reason for forced stop

suppressError
Boolean

Suppress error for forced stop

Applies to

StopJobAsync()

Stop a job asynchronously

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

Applies to

StopJobAsync(Boolean, String)

Stop Job Asynchronously

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

Parameters

force
Boolean

True to force stop

reason
String

Reason for forced stop

Applies to