Freigeben über


RunspacePool.BeginDisconnect(AsyncCallback, Object) Method

Definition

Disconnects the runspace pool asynchronously. Runspace pool must be in Opened state.

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

Parameters

callback
AsyncCallback

An AsyncCallback to call once the BeginClose completes.

state
Object

A user supplied state to call the callback with.

Returns

Applies to