Udostępnij za pośrednictwem


NamedPipeConnectionInfo Constructors

Definition

Overloads

NamedPipeConnectionInfo()

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo(Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo(String)

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo(Int32, String)

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo(String, Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo(Int32, String, Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

NamedPipeConnectionInfo()

Initializes a new instance of the NamedPipeConnectionInfo class.

public:
 NamedPipeConnectionInfo();
public:
 NamedPipeConnectionInfo();
 NamedPipeConnectionInfo();
public NamedPipeConnectionInfo ();
Public Sub New ()

Applies to

NamedPipeConnectionInfo(Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

public:
 NamedPipeConnectionInfo(int processId);
public:
 NamedPipeConnectionInfo(int processId);
 NamedPipeConnectionInfo(int processId);
public NamedPipeConnectionInfo (int processId);
new System.Management.Automation.Runspaces.NamedPipeConnectionInfo : int -> System.Management.Automation.Runspaces.NamedPipeConnectionInfo
Public Sub New (processId As Integer)

Parameters

processId
Int32

Process Id to connect to.

Applies to

NamedPipeConnectionInfo(String)

Initializes a new instance of the NamedPipeConnectionInfo class.

public NamedPipeConnectionInfo (string customPipeName);
new System.Management.Automation.Runspaces.NamedPipeConnectionInfo : string -> System.Management.Automation.Runspaces.NamedPipeConnectionInfo
Public Sub New (customPipeName As String)

Parameters

customPipeName
String

Pipe name to connect to.

Applies to

NamedPipeConnectionInfo(Int32, String)

Initializes a new instance of the NamedPipeConnectionInfo class.

public:
 NamedPipeConnectionInfo(int processId, System::String ^ appDomainName);
public:
 NamedPipeConnectionInfo(int processId, Platform::String ^ appDomainName);
 NamedPipeConnectionInfo(int processId, std::wstring const & appDomainName);
public NamedPipeConnectionInfo (int processId, string appDomainName);
new System.Management.Automation.Runspaces.NamedPipeConnectionInfo : int * string -> System.Management.Automation.Runspaces.NamedPipeConnectionInfo
Public Sub New (processId As Integer, appDomainName As String)

Parameters

processId
Int32

Process Id to connect to.

appDomainName
String

Application domain name to connect to, or default AppDomain if blank.

Applies to

NamedPipeConnectionInfo(String, Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

public NamedPipeConnectionInfo (string customPipeName, int openTimeout);
new System.Management.Automation.Runspaces.NamedPipeConnectionInfo : string * int -> System.Management.Automation.Runspaces.NamedPipeConnectionInfo
Public Sub New (customPipeName As String, openTimeout As Integer)

Parameters

customPipeName
String

Pipe name to connect to.

openTimeout
Int32

Open time out in Milliseconds.

Applies to

NamedPipeConnectionInfo(Int32, String, Int32)

Initializes a new instance of the NamedPipeConnectionInfo class.

public:
 NamedPipeConnectionInfo(int processId, System::String ^ appDomainName, int openTimeout);
public:
 NamedPipeConnectionInfo(int processId, Platform::String ^ appDomainName, int openTimeout);
 NamedPipeConnectionInfo(int processId, std::wstring const & appDomainName, int openTimeout);
public NamedPipeConnectionInfo (int processId, string appDomainName, int openTimeout);
new System.Management.Automation.Runspaces.NamedPipeConnectionInfo : int * string * int -> System.Management.Automation.Runspaces.NamedPipeConnectionInfo
Public Sub New (processId As Integer, appDomainName As String, openTimeout As Integer)

Parameters

processId
Int32

Process Id to connect to.

appDomainName
String

Name of application domain to connect to. Connection is to default application domain if blank.

openTimeout
Int32

Open time out in Milliseconds.

Applies to