PSJobProxy.SuspendJob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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