Share via


RunspaceProvider.BeginGetRunspace Method

Definition

Begin for obtaining a runspace for the specified ConnectionInfo

public:
 virtual IAsyncResult ^ BeginGetRunspace(System::Management::Automation::Runspaces::WSManConnectionInfo ^ connectionInfo, System::UInt32 retryCount, System::UInt32 retryInterval, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginGetRunspace (System.Management.Automation.Runspaces.WSManConnectionInfo connectionInfo, uint retryCount, uint retryInterval, AsyncCallback callback, object state);
abstract member BeginGetRunspace : System.Management.Automation.Runspaces.WSManConnectionInfo * uint32 * uint32 * AsyncCallback * obj -> IAsyncResult
override this.BeginGetRunspace : System.Management.Automation.Runspaces.WSManConnectionInfo * uint32 * uint32 * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginGetRunspace (connectionInfo As WSManConnectionInfo, retryCount As UInteger, retryInterval As UInteger, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

connectionInfo
WSManConnectionInfo

connection info to be used for remote connections

retryCount
UInt32

number of times to retry

retryInterval
UInt32

time in milliseconds before the next retry has to be attempted

callback
AsyncCallback

optional user defined callback

state
Object

optional user specified state

Returns

async result

Exceptions

Applies to