Runspace.CloseAsync Method
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.
Close the runspace Asynchronously.
public:
abstract void CloseAsync();
public:
abstract void CloseAsync();
abstract void CloseAsync();
public abstract void CloseAsync ();
abstract member CloseAsync : unit -> unit
Public MustOverride Sub CloseAsync ()
RunspaceState is BeforeOpen or Opening
Attempts to execute pipelines after a call to close will fail.