C# Class Microsoft.R.Host.Broker.Pipes.MessagePipe

Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
ConnectClient ( ) : IMessagePipeEnd

Creates and returns the client end of the pipe.

Can be called multiple times for a given instance of MessagePipe, but only one end can be active at once. The existing end must be disposed before calling this method to create a new one.

ConnectHost ( int pid ) : IMessagePipeEnd

Creates and returns the host end of the pipe.

Can only be called once for a given instance of MessagePipe. The returned object is owned by the pipe, and should not be disposed.

MessagePipe ( ILogger logger ) : System

Private Methods

Méthode Description
LogMessage ( MessageOrigin origin, byte messageData, bool replay = false ) : void

Method Details

ConnectClient() public méthode

Creates and returns the client end of the pipe.
Can be called multiple times for a given instance of MessagePipe, but only one end can be active at once. The existing end must be disposed before calling this method to create a new one.
public ConnectClient ( ) : IMessagePipeEnd
Résultat IMessagePipeEnd

ConnectHost() public méthode

Creates and returns the host end of the pipe.
Can only be called once for a given instance of MessagePipe. The returned object is owned by the pipe, and should not be disposed.
public ConnectHost ( int pid ) : IMessagePipeEnd
pid int
Résultat IMessagePipeEnd

MessagePipe() public méthode

public MessagePipe ( ILogger logger ) : System
logger ILogger
Résultat System