Job2 Methods

(see also Protected Methods)
 NameDescription
public methodDispose  Overloaded. Releases the resources that are used by the Job object. These methods implement the Dispose pattern used to release managed and unmanaged resources. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodLoadJobStreams  Loads the required job streams. (Inherited from Job)
public methodResumeJobWhen overridden in a derived class, resumes a suspended job synchronously.
public methodResumeJobAsyncWhen overridden in a derived class, resumes a suspended job asynchronously.
public methodStartJobWhen overridden in a derived class, starts a job synchronously.
public methodStartJobAsyncWhen overridden in a derived class, starts a job asynchronously.
public methodStopJob  Stops the job in all runspaces. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
public methodStopJobWhen overridden in a derived class, stops a job synchronously, with the option to force the action.
public methodStopJobAsyncOverloaded. Stops a job asynchronously.
public methodSuspendJobOverloaded. Suspends a job synchronously.
public methodSuspendJobAsyncOverloaded. Suspends a job asynchronously.
public methodToString  (Inherited from Object)
public methodUnblockJobWhen overridden in a derived class, unblocks a blocked job synchronously.
public methodUnblockJobAsyncWhen overridden in a derived class, unblocks a blocked job asynchronously.
public methodUnloadJobStreams  Unloads the required job streams. (Inherited from Job)

  Name Description
protected method AutoGenerateJobName  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)
protected method Dispose  Overloaded. Releases the resources that are used by the Job object. These methods implement the Dispose pattern used to release managed and unmanaged resources. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
protected method DoLoadJobStreams  Specifies the loading of the streams for a particular job. (Inherited from Job)
protected method DoUnloadJobStreams  Unloads job stream information, which enables jobs to clear stream information from memory. (Inherited from Job)
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method OnResumeJobCompleted Raises the event when resuming a suspended job is completed.
protected method OnStartJobCompleted Raises the event when the starting of a job is completed.
protected method OnStopJobCompleted Raises the event when the stopping of a job is completed.
protected method OnSuspendJobCompleted Raises the event when the suspending of a job is completed.
protected method OnUnblockJobCompleted Raises the event when the unblocking of a blocked job is completed.
protected method SetJobState  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)
protected method SetJobState Stores the state of the job.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft