Job2 Methods

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

NameDescription
System_CAPS_protmethodAutoGenerateJobName()

Automatically adds the specified job name if the user does not supply one when creating the job. This method is introduced in Windows PowerShell 2.0.(Inherited from Job.)

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_protmethodDispose(Boolean)

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

System_CAPS_protmethodDoLoadJobStreams()

Specifies the loading of the streams for a particular job. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_protmethodDoUnloadJobStreams()

Unloads job stream information, which enables jobs to clear stream information from memory. Introduced in Windows PowerShell 3.0.(Inherited from Job.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(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_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnResumeJobCompleted(AsyncCompletedEventArgs)

Raises the event when resuming a suspended job is completed. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodOnStartJobCompleted(AsyncCompletedEventArgs)

Raises the event when the starting of a job is completed. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodOnStopJobCompleted(AsyncCompletedEventArgs)

Raises the event when the stopping of a job is completed. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodOnSuspendJobCompleted(AsyncCompletedEventArgs)

Raises the event when the suspending of a job is completed. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodOnUnblockJobCompleted(AsyncCompletedEventArgs)

Raises the event when the unblocking of a blocked job is completed. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodResumeJob()

When overridden in a derived class, resumes a suspended job synchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodResumeJobAsync()

When overridden in a derived class, resumes a suspended job asynchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodSetJobState(JobState)

Sets the status of the job, such as is it running, has it completed, or has it failed. This method is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_protmethodSetJobState(JobState, Exception)

Stores the state of the job. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodStartJob()

When overridden in a derived class, starts a job synchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodStartJobAsync()

When overridden in a derived class, starts a job asynchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodStopJob()

Stops the job in all runspaces. This method is introduced in Windows PowerShell 2.0.(Inherited from Job.)

System_CAPS_pubmethodStopJob(Boolean, String)

When overridden in a derived class, stops a job synchronously, with the option to force the action. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodStopJobAsync()

When overridden in a derived class, stops a job asynchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodStopJobAsync(Boolean, String)

When overridden in a derived class, stops a job asynchronously, with the option to force the action. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSuspendJob()

When overridden in a derived class, suspends a job synchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSuspendJob(Boolean, String)

When overridden in a derived class, suspends a job synchronously, with the option to force the action. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSuspendJobAsync()

When overridden in a derived class, suspends a job asynchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSuspendJobAsync(Boolean, String)

When overridden in a derived class, suspends a job asynchronously, with the option to force the action. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnblockJob()

When overridden in a derived class, unblocks a blocked job synchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodUnblockJobAsync()

When overridden in a derived class, unblocks a blocked job asynchronously. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodUnloadJobStreams()

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

Return to top

Community Additions

ADD
Show: