PSJobProxy Methods

(see also Protected Methods)
 NameDescription
public methodstaticCreateOverloaded. Creates a collection of job proxies to interact with jobs from a runspace or runspace pool. Variants of this method can achieve this task by specifying a filter, immediate data streaming, or event handlers to respond when data is added or the state is changed in a child job.
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 methodReceiveJobOverloaded. Begins streaming data for a job object that was created by the Create method and has not been started.
public methodRemoveJobOverloaded. Removes the remote or local job synchronously.
public methodRemoveJobAsyncOverloaded. Removes the remote or local job asynchronously.
public methodResumeJobOverridden. Resumes a suspended job synchronously.
public methodResumeJobAsyncOverridden. Resumes a suspended job asynchronously.
public methodStartJobOverloaded. Overridden. Starts a job synchronously.
public methodStartJobAsyncOverloaded. Overridden. Starts a job asynchronously.
public methodStopJobOverloaded. Overridden. Stops a job synchronously.
public methodStopJobAsyncOverloaded. Overridden. Stops a job asynchronously.
public methodSuspendJobOverloaded. Overridden. Suspends a job synchronously.
public methodSuspendJobAsyncOverloaded. Overridden. Suspends a job asynchronously.
public methodToString  (Inherited from Object)
public methodUnblockJobOverridden. Unblocks a blocked job synchronously.
public methodUnblockJobAsyncOverridden. 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. (Inherited from Job2)
protected method OnStartJobCompleted  Raises the event when the starting of a job is completed. (Inherited from Job2)
protected method OnStopJobCompleted  Raises the event when the stopping of a job is completed. (Inherited from Job2)
protected method OnSuspendJobCompleted  Raises the event when the suspending of a job is completed. (Inherited from Job2)
protected method OnUnblockJobCompleted  Raises the event when the unblocking of a blocked job is completed. (Inherited from Job2)
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. (Inherited from Job2)

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