C# 클래스 Rsdn.Janus.Framework.Ipc.PipeHandle

Holds the operating system native handle and the current state of the pipe connection.
상속: IDisposable
파일 보기 프로젝트 열기: rsdn/janus 1 사용 예제들

공개 메소드들

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