RunspaceProvider RunspaceProvider RunspaceProvider Class

Definition

Class that provides a runspace with the specified options and constraints

public abstract class RunspaceProvider
type RunspaceProvider = class
Public MustInherit Class RunspaceProvider
Inheritance
RunspaceProviderRunspaceProviderRunspaceProvider

Constructors

RunspaceProvider() RunspaceProvider() RunspaceProvider()

Methods

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

Begin for obtaining a runspace for the specified ConnectionInfo

EndGetRunspace(IAsyncResult) EndGetRunspace(IAsyncResult) EndGetRunspace(IAsyncResult)

End for obtaining a runspace for the specified connection info

GetRunspace(WSManConnectionInfo, UInt32, UInt32) GetRunspace(WSManConnectionInfo, UInt32, UInt32) GetRunspace(WSManConnectionInfo, UInt32, UInt32)

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

IsDisconnectedByRunspaceProvider(Runspace) IsDisconnectedByRunspaceProvider(Runspace) IsDisconnectedByRunspaceProvider(Runspace)

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

ReadyForDisconnect(Runspace) ReadyForDisconnect(Runspace) ReadyForDisconnect(Runspace)

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

ReleaseRunspace(Runspace) ReleaseRunspace(Runspace) ReleaseRunspace(Runspace)

Release the runspace once the activity is finished using the same

RequestCleanup(WSManConnectionInfo, WaitCallback, Object) RequestCleanup(WSManConnectionInfo, WaitCallback, Object) 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