C# 클래스 Microsoft.R.Host.Broker.Pipes.MessagePipe

파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
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