Runspace.ConnectAsync 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.
Connects a runspace to its remote counterpart asynchronously.
public:
abstract void ConnectAsync();
public:
abstract void ConnectAsync();
abstract void ConnectAsync();
public abstract void ConnectAsync ();
abstract member ConnectAsync : unit -> unit
Public MustOverride Sub ConnectAsync ()
Exceptions
RunspaceState is not Disconnected.
Remarks
Connects the runspace object to its corresponding runspace on the target server machine. The target server machine is identified by the connection object passed in during construction. The remote runspace is identified by the internal runspace Guid value.