C# Класс WebApplications.Utilities.Service.NamedPipeServer.NamedPipeConnection

Implements a connection to the service over a named pipe.
Наследование: IConnection, IDisposable
Показать файл Открыть проект

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

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