Partager via


Runspace.CloseAsync Method

Definition

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.

Applies to