RunspacePool.BeginDisconnect(AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.