C# Class Rsdn.Janus.Framework.Ipc.PipeHandle

Holds the operating system native handle and the current state of the pipe connection.
Inheritance: IDisposable
Afficher le fichier Open project: rsdn/janus Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Dispose() public méthode

Closes a named pipe and releases the native handle.
public Dispose ( ) : void
Résultat void

PipeHandle() public méthode

Creates a PipeHandle instance using the passed native handle.
public PipeHandle ( IntPtr hnd ) : System
hnd System.IntPtr The native handle.
Résultat System

PipeHandle() public méthode

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.
Résultat System

PipeHandle() public méthode

Creates a PipeHandle instance with an invalid native handle.
public PipeHandle ( InterProcessConnectionState state ) : System
state InterProcessConnectionState
Résultat System