InitialSessionState.ThrowOnRunspaceOpenError Property

Definition

If this property is set and there was a runspace creation error, then throw an exception, otherwise just continue creating the runspace even though it may be in an inconsistent state.

public:
 property bool ThrowOnRunspaceOpenError { bool get(); void set(bool value); };
public:
 property bool ThrowOnRunspaceOpenError { bool get(); void set(bool value); };
public bool ThrowOnRunspaceOpenError { get; set; }
member this.ThrowOnRunspaceOpenError : bool with get, set
Public Property ThrowOnRunspaceOpenError As Boolean

Property Value

Applies to