Share via


ClientSessionTransportManagerBase Class

Definition

Client session transport manager abstract base class.

public abstract class ClientSessionTransportManagerBase : System.Management.Automation.Remoting.Client.BaseClientSessionTransportManager
type ClientSessionTransportManagerBase = class
    inherit BaseClientSessionTransportManager
Public MustInherit Class ClientSessionTransportManagerBase
Inherits BaseClientSessionTransportManager
Inheritance

Constructors

ClientSessionTransportManagerBase(Guid, PSRemotingCryptoHelper)

Constructor.

Methods

CleanupConnection()

Optional additional connection clean up after a connection is closed.

CloseAsync()

Closes the server process.

CreateAsync()

Create the transport manager and initiate connection.

(Inherited from BaseClientTransportManager)
Dispose()

Dispose the transport and release resources.

(Inherited from BaseTransportManager)
Dispose(Boolean)

Terminates the server process and disposes other resources.

DisposeMessageQueue()

Disposes message queue components.

HandleDataReceived(String)

Standard handler for data received, to be used by custom transport implementations.

HandleErrorDataReceived(String)

Handles protocol error data.

HandleOutputDataReceived(String)

Handles protocol output data from a transport.

MigrateDataReadyEventHandlers(BaseTransportManager)

Copy the DataReceived event handlers to the supplied transport Manager.

(Inherited from BaseTransportManager)
RaiseErrorHandler(TransportErrorOccuredEventArgs)

Raise the error handlers.

(Inherited from BaseTransportManager)
SendOneItem()

Send any data packet in the queue.

SetMessageWriter(TextWriter)

Events

PowerShellGuidObserver

Listen to this event to observe the PowerShell guid of the processed object.

(Inherited from BaseTransportManager)

Applies to