Compartilhar via


PSJobProxy.SuspendJob Method

Definition

Overloads

SuspendJob()

Suspend a job

SuspendJob(Boolean, String)

SuspendJob

SuspendJob()

Suspend a job

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

Exceptions

Throws if the job is not in a running or suspended state.

Thrown if job is disposed.

Applies to

SuspendJob(Boolean, String)

SuspendJob

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

Parameters

force
Boolean
reason
String

Applies to