ContainerParentJob.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() |
Suspends all jobs. |
SuspendJob(Boolean, String) |
Suspends all jobs forcefully. |
SuspendJob()
Suspends all jobs.
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
Thrown if job is disposed.
Applies to
SuspendJob(Boolean, String)
Suspends all jobs forcefully.
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
Force flag for suspending forcefully.
- reason
- String
Reason for doing forceful suspend.