Sdílet prostřednictvím


RunspaceProvider Class

Definition

Class that provides a runspace with the specified options and constraints

public ref class RunspaceProvider abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class RunspaceProvider abstract
[Windows::Foundation::Metadata::WebHostHidden]
class RunspaceProvider abstract
public abstract class RunspaceProvider
type RunspaceProvider = class
Public MustInherit Class RunspaceProvider
Inheritance
RunspaceProvider

Constructors

RunspaceProvider()

Methods

BeginGetRunspace(WSManConnectionInfo, UInt32, UInt32, AsyncCallback, Object)

Begin for obtaining a runspace for the specified ConnectionInfo

EndGetRunspace(IAsyncResult)

End for obtaining a runspace for the specified connection info

GetRunspace(WSManConnectionInfo, UInt32, UInt32)

Get runspace for the specified connection info to be used for running commands

IsDisconnectedByRunspaceProvider(Runspace)

Checks to see if the provider intentionally disconnected a runspace or it went into disconnected state due to network issues

ReadyForDisconnect(Runspace)

Callback to indicate that this runspace been initiated with a pipeline and can be disconnected

ReleaseRunspace(Runspace)

Release the runspace once the activity is finished using the same

RequestCleanup(WSManConnectionInfo, WaitCallback, Object)

Request a cleanup to the destination specified in the connection info. This means no runspaces will be held to the specified connection info.

Applies to