C# 클래스 WebApplications.Utilities.Service.NamedPipeServer.NamedPipeConnection

Implements a connection to the service over a named pipe.
상속: IConnection, IDisposable
파일 보기 프로젝트 열기: webappsuk/CoreLibraries

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NamedPipeConnection ( [ server ) : System

Initializes a new instance of the NamedPipeConnection class.

OnDisconnect ( ) : void

Called when the server disconnects.

Remove ( [ connectedCommand ) : void

Removes the specified connected command.

Start ( ) : void

Starts this instance.

ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
Send ( [ message, CancellationToken token = default(CancellationToken) ) : Task

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

NamedPipeConnection() 공개 메소드

Initializes a new instance of the NamedPipeConnection class.
public NamedPipeConnection ( [ server ) : System
server [ The server.
리턴 System

OnDisconnect() 공개 메소드

Called when the server disconnects.
public OnDisconnect ( ) : void
리턴 void

Remove() 공개 메소드

Removes the specified connected command.
public Remove ( [ connectedCommand ) : void
connectedCommand [ The connected command.
리턴 void

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string