ContainerParentJob ContainerParentJob ContainerParentJob Class

Definition

Top level container job

public sealed class ContainerParentJob : System.Management.Automation.Job2
type ContainerParentJob = class
    inherit Job2
Public NotInheritable Class ContainerParentJob
Inherits Job2
Inheritance
ContainerParentJobContainerParentJobContainerParentJob

Constructors

ContainerParentJob(String) ContainerParentJob(String) ContainerParentJob(String)

Create a container parent job with the specified command string

ContainerParentJob(String, String) ContainerParentJob(String, String) ContainerParentJob(String, String)

Create a container parent job with the specified command string and name

ContainerParentJob(String, String, Guid) ContainerParentJob(String, String, Guid) ContainerParentJob(String, String, Guid)

Create a container parent job with the specified command string

ContainerParentJob(String, String, Guid, String) ContainerParentJob(String, String, Guid, String) ContainerParentJob(String, String, Guid, String)

Create a container parent job with the specified command string

ContainerParentJob(String, String, JobIdentifier) ContainerParentJob(String, String, JobIdentifier) ContainerParentJob(String, String, JobIdentifier)

Create a container parent job with the specified command string

ContainerParentJob(String, String, JobIdentifier, String) ContainerParentJob(String, String, JobIdentifier, String) ContainerParentJob(String, String, JobIdentifier, String)

Create a container parent job with the specified command string

ContainerParentJob(String, String, String) ContainerParentJob(String, String, String) ContainerParentJob(String, String, String)

Create a container parent job with the specified command, name, job type strings.

Properties

ChildJobs ChildJobs ChildJobs Inherited from Job
Command Command Command Inherited from Job
Debug Debug Debug Inherited from Job
Error Error Error Inherited from Job
Finished Finished Finished Inherited from Job
HasMoreData HasMoreData HasMoreData

indicates if more data is available

Id Id Id Inherited from Job
Information Information Information Inherited from Job
InstanceId InstanceId InstanceId Inherited from Job
JobStateInfo JobStateInfo JobStateInfo Inherited from Job
Location Location Location

Computers on which this job is running

Name Name Name Inherited from Job
Output Output Output Inherited from Job
PSBeginTime PSBeginTime PSBeginTime Inherited from Job
PSEndTime PSEndTime PSEndTime Inherited from Job
PSJobTypeName PSJobTypeName PSJobTypeName Inherited from Job
Progress Progress Progress Inherited from Job
StartParameters StartParameters StartParameters Inherited from Job2
StatusMessage StatusMessage StatusMessage

Message indicating status of the job

SyncRoot SyncRoot SyncRoot Inherited from Job2
Verbose Verbose Verbose Inherited from Job
Warning Warning Warning Inherited from Job

Methods

AddChildJob(Job2) AddChildJob(Job2) AddChildJob(Job2)

Add a child job to the parent job

AutoGenerateJobName() AutoGenerateJobName() AutoGenerateJobName() Inherited from Job
Dispose() Dispose() Dispose() Inherited from Job
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Inherited from Job
DoLoadJobStreams() DoLoadJobStreams() DoLoadJobStreams() Inherited from Job
DoUnloadJobStreams() DoUnloadJobStreams() DoUnloadJobStreams() Inherited from Job
LoadJobStreams() LoadJobStreams() LoadJobStreams() Inherited from Job
OnResumeJobCompleted(AsyncCompletedEventArgs) OnResumeJobCompleted(AsyncCompletedEventArgs) OnResumeJobCompleted(AsyncCompletedEventArgs) Inherited from Job2
OnStartJobCompleted(AsyncCompletedEventArgs) OnStartJobCompleted(AsyncCompletedEventArgs) OnStartJobCompleted(AsyncCompletedEventArgs) Inherited from Job2
OnStopJobCompleted(AsyncCompletedEventArgs) OnStopJobCompleted(AsyncCompletedEventArgs) OnStopJobCompleted(AsyncCompletedEventArgs) Inherited from Job2
OnSuspendJobCompleted(AsyncCompletedEventArgs) OnSuspendJobCompleted(AsyncCompletedEventArgs) OnSuspendJobCompleted(AsyncCompletedEventArgs) Inherited from Job2
OnUnblockJobCompleted(AsyncCompletedEventArgs) OnUnblockJobCompleted(AsyncCompletedEventArgs) OnUnblockJobCompleted(AsyncCompletedEventArgs) Inherited from Job2
ResumeJob() ResumeJob() ResumeJob()

Resume all jobs.

ResumeJobAsync() ResumeJobAsync() ResumeJobAsync()

Resume all jobs asynchronously.

SetJobState(JobState) SetJobState(JobState) SetJobState(JobState) Inherited from Job
SetJobState(JobState, Exception) SetJobState(JobState, Exception) SetJobState(JobState, Exception) Inherited from Job2
StartJob() StartJob() StartJob()

Starts all jobs.

StartJobAsync() StartJobAsync() StartJobAsync()

Starts all child jobs asynchronously. When all child jobs are started, StartJobCompleted event is raised.

StopJob() StopJob() StopJob()

Stop all child jobs.

StopJob(Boolean, String) StopJob(Boolean, String) StopJob(Boolean, String)

StopJob

StopJobAsync() StopJobAsync() StopJobAsync()

Stops all child jobs asynchronously. Once all child jobs are stopped, StopJobCompleted event is raised.

StopJobAsync(Boolean, String) StopJobAsync(Boolean, String) StopJobAsync(Boolean, String)

StopJobAsync

SuspendJob() SuspendJob() SuspendJob()

Suspends all jobs.

SuspendJob(Boolean, String) SuspendJob(Boolean, String) SuspendJob(Boolean, String)

Suspends all jobs forcefully.

SuspendJobAsync() SuspendJobAsync() SuspendJobAsync()

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

SuspendJobAsync(Boolean, String) SuspendJobAsync(Boolean, String) SuspendJobAsync(Boolean, String)

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

UnblockJob() UnblockJob() UnblockJob()

Unblock all child jobs.

UnblockJobAsync() UnblockJobAsync() UnblockJobAsync()

Unblock all child jobs asynchronously. Once all child jobs are unblocked, UnblockJobCompleted event is raised.

UnloadJobStreams() UnloadJobStreams() UnloadJobStreams() Inherited from Job

Events

ResumeJobCompleted ResumeJobCompleted ResumeJobCompleted Inherited from Job2
StartJobCompleted StartJobCompleted StartJobCompleted Inherited from Job2
StateChanged StateChanged StateChanged Inherited from Job
StopJobCompleted StopJobCompleted StopJobCompleted Inherited from Job2
SuspendJobCompleted SuspendJobCompleted SuspendJobCompleted Inherited from Job2
UnblockJobCompleted UnblockJobCompleted UnblockJobCompleted Inherited from Job2

Applies to