RunspaceProvider.RequestCleanup 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.
Request a cleanup to the destination specified in the connection info. This means no runspaces will be held to the specified connection info.
public:
virtual void RequestCleanup(System::Management::Automation::Runspaces::WSManConnectionInfo ^ connectionInfo, System::Threading::WaitCallback ^ callback, System::Object ^ state);
public virtual void RequestCleanup (System.Management.Automation.Runspaces.WSManConnectionInfo connectionInfo, System.Threading.WaitCallback callback, object state);
abstract member RequestCleanup : System.Management.Automation.Runspaces.WSManConnectionInfo * System.Threading.WaitCallback * obj -> unit
override this.RequestCleanup : System.Management.Automation.Runspaces.WSManConnectionInfo * System.Threading.WaitCallback * obj -> unit
Public Overridable Sub RequestCleanup (connectionInfo As WSManConnectionInfo, callback As WaitCallback, state As Object)
Parameters
- connectionInfo
- WSManConnectionInfo
connection info to which cleanup is desired
- callback
- WaitCallback
callback to invoke
- state
- Object
caller specified state