Runspace.CloseAsync 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.
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 ()
Exceptions
RunspaceState is BeforeOpen or Opening
Remarks
Attempts to execute pipelines after a call to close will fail.