Partager via


Runspace.Close Method

Definition

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.

Applies to