共用方式為


WSManConnectionInfo.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 instance.

Returns

Instance of WSManClientSessionTransportManager

Applies to