RunspaceProvider.IsDisconnectedByRunspaceProvider(Runspace) 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.
Checks to see if the provider intentionally disconnected a runspace or it went into disconnected state due to network issues
public:
virtual bool IsDisconnectedByRunspaceProvider(System::Management::Automation::Runspaces::Runspace ^ runspace);
public virtual bool IsDisconnectedByRunspaceProvider (System.Management.Automation.Runspaces.Runspace runspace);
abstract member IsDisconnectedByRunspaceProvider : System.Management.Automation.Runspaces.Runspace -> bool
override this.IsDisconnectedByRunspaceProvider : System.Management.Automation.Runspaces.Runspace -> bool
Public Overridable Function IsDisconnectedByRunspaceProvider (runspace As Runspace) As Boolean
Parameters
- runspace
- Runspace
runspace that needs to be checked
Returns
true - when intentionally disconnected false - disconnected due to network issues