共用方式為


RunspaceConnectionInfo.CreateClientSessionTransportManager Method

Definition

Creates the appropriate client session transportmanager.

public virtual System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager CreateClientSessionTransportManager (Guid instanceId, string sessionName, System.Management.Automation.Internal.PSRemotingCryptoHelper cryptoHelper);
abstract member CreateClientSessionTransportManager : Guid * string * System.Management.Automation.Internal.PSRemotingCryptoHelper -> System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager
override this.CreateClientSessionTransportManager : Guid * string * System.Management.Automation.Internal.PSRemotingCryptoHelper -> System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager
Public Overridable 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.

Returns

Applies to