C# Класс Microsoft.R.Host.Broker.Pipes.MessagePipe

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
LogMessage ( MessageOrigin origin, byte messageData, bool replay = false ) : void

Описание методов

ConnectClient() публичный Метод

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
Результат IMessagePipeEnd

ConnectHost() публичный Метод

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
Результат IMessagePipeEnd

MessagePipe() публичный Метод

public MessagePipe ( ILogger logger ) : System
logger ILogger
Результат System