共用方式為


NamedPipeConnectionInfo.CreateClientSessionTransportManager Method

Definition

Creates the appropriate client session transportmanager.

public override System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager CreateClientSessionTransportManager (Guid instanceId, string sessionName, System.Management.Automation.Internal.PSRemotingCryptoHelper cryptoHelper);
override this.CreateClientSessionTransportManager : Guid * string * System.Management.Automation.Internal.PSRemotingCryptoHelper -> System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager
Public Overrides Function CreateClientSessionTransportManager (instanceId As Guid, sessionName As String, cryptoHelper As PSRemotingCryptoHelper) As BaseClientSessionTransportManager

Parameters

instanceId
Guid

Runspace/Pool instance Id.

sessionName
String

Session name.

cryptoHelper
PSRemotingCryptoHelper

PSRemotingCryptoHelper object.

Returns

Instance of NamedPipeClientSessionTransportManager

Applies to