C# Класс Rsdn.Janus.Framework.Ipc.PipeHandle

Holds the operating system native handle and the current state of the pipe connection.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void

Closes a named pipe and releases the native handle.

PipeHandle ( IntPtr hnd ) : System

Creates a PipeHandle instance using the passed native handle.

PipeHandle ( IntPtr hnd, InterProcessConnectionState state ) : System

Creates a PipeHandle instance using the provided native handle and state.

PipeHandle ( InterProcessConnectionState state ) : System

Creates a PipeHandle instance with an invalid native handle.

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

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

Closes a named pipe and releases the native handle.
public Dispose ( ) : void
Результат void

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

Creates a PipeHandle instance using the passed native handle.
public PipeHandle ( IntPtr hnd ) : System
hnd System.IntPtr The native handle.
Результат System

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

Creates a PipeHandle instance using the provided native handle and state.
public PipeHandle ( IntPtr hnd, InterProcessConnectionState state ) : System
hnd System.IntPtr The native handle.
state InterProcessConnectionState The state of the pipe connection.
Результат System

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

Creates a PipeHandle instance with an invalid native handle.
public PipeHandle ( InterProcessConnectionState state ) : System
state InterProcessConnectionState
Результат System