Freigeben über


RunspacePool.BeginOpen(AsyncCallback, Object) Method

Definition

Opens the RunspacePool asynchronously. RunspacePool must be opened before it can be used. To get the exceptions that might have occurred, call EndOpen.

public:
 IAsyncResult ^ BeginOpen(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginOpen (AsyncCallback callback, object state);
member this.BeginOpen : AsyncCallback * obj -> IAsyncResult
Public Function BeginOpen (callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

callback
AsyncCallback

A AsyncCallback to call once the BeginOpen completes.

state
Object

A user supplied state to call the callback with.

Returns

An AsyncResult object to monitor the state of the async operation.

Applies to