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