ContainerParentJob Class
TOC
Collapse the table of content
Expand the table of content

ContainerParentJob Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a top-level container job. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System::Object
  System.Management.Automation::Job
    System.Management.Automation::Job2
      System.Management.Automation::ContainerParentJob

public ref class ContainerParentJob sealed : Job2

NameDescription
System_CAPS_pubmethodContainerParentJob(String^)

Initializes a new instance of the ContainerParentJob class with the specified command string. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^)

Initializes a new instance of the ContainerParentJob class with the specified command string and name. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^, Guid)

Initializes a new instance of the ContainerParentJob class with the specified command string, name, and instance identifier. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^, Guid, String^)

Initializes a new instance of the ContainerParentJob class with the specified command string, name, instance identifier, and job type. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^, JobIdentifier^)

Initializes a new instance of the ContainerParentJob class with the specified command string, name, and job identifier token. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^, JobIdentifier^, String^)

Initializes a new instance of the ContainerParentJob class with the specified command string, name, job identifier token, and job type. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodContainerParentJob(String^, String^, String^)

Initializes a new instance of the ContainerParentJob class with the specified command, name, and job type. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyChildJobs

Gets a list of the child jobs included in this job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyCommand

Gets the command that is run by this job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyDebug

Gets and sets the buffer where debug information is stored. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyError

Gets and sets the buffer where error information is stored. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyFinished

Gets the wait handle that is signaled when job is finished. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyHasMoreData

Gets a value that indicates whether more data is available. Introduced in Windows PowerShell 3.0.(Overrides Job::HasMoreData.)

System_CAPS_pubpropertyId

Gets the identifier of the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyInformation

Gets or sets the information buffer. Information records of job are written to this buffer. (Inherited from Job.)

System_CAPS_pubpropertyInstanceId

Gets the identifier of this instance of the job. The instance identifier of the job is unique throughout all runspaces. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyJobStateInfo

Gets the status of the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyLocation

Gets the name of the computer on which this job is running. Introduced in Windows PowerShell 3.0.(Overrides Job::Location.)

System_CAPS_pubpropertyName

Gets and sets the name that can be used to identify the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyOutput

Gets and sets the output buffer for the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyProgress

Gets and sets the progress buffer for the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyPSBeginTime

Gets or sets when to begin the job. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_pubpropertyPSEndTime

Gets or sets when to end the job. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_pubpropertyPSJobTypeName

Gets or sets the job type name. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_pubpropertyStartParameters

Gets or sets the parameters that are used to start a job. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

System_CAPS_pubpropertyStatusMessage

Gets a message that indicates the status of the job. Introduced in Windows PowerShell 3.0.(Overrides Job::StatusMessage.)

System_CAPS_pubpropertyVerbose

Gets and sets the verbose buffer for the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubpropertyWarning

Gets and sets the warning buffer for the job. This property is introduced in Windows PowerShell 2.0.(Inherited from Job.)

NameDescription
System_CAPS_pubmethodAddChildJob(Job2^)

Adds a child job to the parent job. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodDispose()

Releases the resources used by the Job object. This method is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoadJobStreams()

Loads the required job streams. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_pubmethodResumeJob()

Resumes all jobs. Introduced in Windows PowerShell 3.0.(Overrides Job2::ResumeJob().)

System_CAPS_pubmethodResumeJobAsync()

Resumes all jobs asynchronously. Introduced in Windows PowerShell 3.0.(Overrides Job2::ResumeJobAsync().)

System_CAPS_pubmethodStartJob()

Starts all child jobs. Introduced in Windows PowerShell 3.0.(Overrides Job2::StartJob().)

System_CAPS_pubmethodStartJobAsync()

Starts all child jobs asynchronously. When all child jobs are started, StartJobCompleted event is raised. Introduced in Windows PowerShell 3.0.(Overrides Job2::StartJobAsync().)

System_CAPS_pubmethodStopJob()

Stops all child jobs. Introduced in Windows PowerShell 3.0.(Overrides Job::StopJob().)

System_CAPS_pubmethodStopJob(Boolean, String^)

Stops all child jobs with an option to force termination. Introduced in Windows PowerShell 3.0.(Overrides Job2::StopJob(Boolean, String^).)

System_CAPS_pubmethodStopJobAsync()

Stops all child jobs asynchronously. Once all child jobs are stopped, StopJobCompleted event is raised. Introduced in Windows PowerShell 3.0.(Overrides Job2::StopJobAsync().)

System_CAPS_pubmethodStopJobAsync(Boolean, String^)

Stops all child jobs asynchronously with an option to force termination. Introduced in Windows PowerShell 3.0.(Overrides Job2::StopJobAsync(Boolean, String^).)

System_CAPS_pubmethodSuspendJob()

Suspends all jobs. Introduced in Windows PowerShell 3.0.(Overrides Job2::SuspendJob().)

System_CAPS_pubmethodSuspendJob(Boolean, String^)

Suspends all jobs forcefully.(Overrides Job2::SuspendJob(Boolean, String^).)

System_CAPS_pubmethodSuspendJobAsync()

Suspends all jobs asynchronously. When all jobs have been suspended, SuspendJobCompleted is raised.Introduced in Windows PowerShell 3.0.(Overrides Job2::SuspendJobAsync().)

System_CAPS_pubmethodSuspendJobAsync(Boolean, String^)

Suspends all jobs asynchronously with an option to force suspension. When all jobs have been suspended, SuspendJobCompleted is raised.Introduced in Windows PowerShell 3.0.(Overrides Job2::SuspendJobAsync(Boolean, String^).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnblockJob()

Unblocks all child jobs. Introduced in Windows PowerShell 3.0.(Overrides Job2::UnblockJob().)

System_CAPS_pubmethodUnblockJobAsync()

Unblocks all child jobs asynchronously. Once all child jobs are unblocked, UnblockJobCompleted event is raised. Introduced in Windows PowerShell 3.0.(Overrides Job2::UnblockJobAsync().)

System_CAPS_pubmethodUnloadJobStreams()

Unloads the required job streams. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

NameDescription
System_CAPS_pubeventResumeJobCompleted

Occurs when the asynchronous resuming of a suspended job is completed. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

System_CAPS_pubeventStartJobCompleted

Occurs when the start job activity is completed. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

System_CAPS_pubeventStateChanged

Event fired when the status of the job changes, such as when the job has completed in all runspaces or failed in any one runspace. This event is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubeventStopJobCompleted

Occurs when the asynchronous stopping of a job is completed. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

System_CAPS_pubeventSuspendJobCompleted

Occurs when the asynchronous suspending of a job is completed. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

System_CAPS_pubeventUnblockJobCompleted

Occurs when the asynchronous unblocking of a blocked job is completed. Introduced in Windows PowerShell 3.0.(Inherited from Job2.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft