Partager via


RunspaceProvider.IsDisconnectedByRunspaceProvider(Runspace) Method

Definition

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

Applies to