Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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. Introduced in Windows PowerShell 3.0. (Inherited from Job)
public methodResumeJobWhen overridden in a derived class, resumes a suspended job synchronously. Introduced in Windows PowerShell 3.0.
public methodResumeJobAsyncWhen overridden in a derived class, resumes a suspended job asynchronously. Introduced in Windows PowerShell 3.0.
public methodStartJobWhen overridden in a derived class, starts a job synchronously. Introduced in Windows PowerShell 3.0.
public methodStartJobAsyncWhen overridden in a derived class, starts a job asynchronously. Introduced in Windows PowerShell 3.0.
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. Introduced in Windows PowerShell 3.0.
public methodStopJobAsyncOverloaded. Stops a job asynchronously. Introduced in Windows PowerShell 3.0.
public methodSuspendJobOverloaded. Suspends a job synchronously. Introduced in Windows PowerShell 3.0.
public methodSuspendJobAsyncOverloaded. Suspends a job asynchronously. Introduced in Windows PowerShell 3.0.
public methodToString  (Inherited from Object)
public methodUnblockJobWhen overridden in a derived class, unblocks a blocked job synchronously. Introduced in Windows PowerShell 3.0.
public methodUnblockJobAsyncWhen overridden in a derived class, unblocks a blocked job asynchronously. Introduced in Windows PowerShell 3.0.
public methodUnloadJobStreams  Unloads the required job streams. Introduced in Windows PowerShell 3.0. (Inherited from Job)

(see also Extension Methods)
 NameDescription
protected methodAutoGenerateJobName  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 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)
protected methodDoLoadJobStreams  Specifies the loading of the streams for a particular job. Introduced in Windows PowerShell 3.0. (Inherited from Job)
protected methodDoUnloadJobStreams  Unloads job stream information, which enables jobs to clear stream information from memory. Introduced in Windows PowerShell 3.0. (Inherited from Job)
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
protected methodOnResumeJobCompletedRaises the event when resuming a suspended job is completed. Introduced in Windows PowerShell 3.0.
protected methodOnStartJobCompletedRaises the event when the starting of a job is completed. Introduced in Windows PowerShell 3.0.
protected methodOnStopJobCompletedRaises the event when the stopping of a job is completed. Introduced in Windows PowerShell 3.0.
protected methodOnSuspendJobCompletedRaises the event when the suspending of a job is completed. Introduced in Windows PowerShell 3.0.
protected methodOnUnblockJobCompletedRaises the event when the unblocking of a blocked job is completed. Introduced in Windows PowerShell 3.0.
protected methodSetJobState  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 methodSetJobStateStores the state of the job. Introduced in Windows PowerShell 3.0.

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)


Show:
© 2015 Microsoft