C# 클래스 System.IO.Pipes.PipeStream

상속: Stream
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckReadWriteArgs void
DebugAssertReadWriteArgs void
GetPipePath string
GetSecAttrs Interop.Kernel32.SECURITY_ATTRIBUTES
Init void
InitializeAsyncHandle void
InitializeHandle void
ReadAsync Task
ReadAsyncCore Task
ReadCore int
ReadFileNative int
UninitializeAsyncHandle void
UpdateMessageCompletion void
UpdateReadMode void
ValidateHandleIsPipe void
WinIOError Exception
WriteAsync Task
WriteAsyncCore Task
WriteCore void
WriteFileNative int

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginRead ( byte buffer, int offset, int count, System callback, object state ) : System.IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, System callback, object state ) : System.IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
EndRead ( System asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
EndWrite ( System asyncResult ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
Seek ( long offset, System origin ) : long
SetLength ( long value ) : void
WaitForPipeDrain ( ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
WriteByte ( byte value ) : void

보호된 메소드들

메소드 설명
CheckPipePropertyOperations ( ) : void
CheckReadOperations ( ) : void
CheckWriteOperations ( ) : void
Dispose ( bool disposing ) : void
InitializeHandle ( Microsoft handle, bool isExposed, bool isAsync ) : void
PipeStream ( System direction, System transmissionMode, int outBufferSize )
PipeStream ( System direction, int bufferSize )
PipeStream ( PipeDirection direction, PipeTransmissionMode transmissionMode, int outBufferSize ) : Microsoft.Win32.SafeHandles
PipeStream ( PipeDirection direction, int bufferSize ) : Microsoft.Win32.SafeHandles

비공개 메소드들

메소드 설명
CheckReadWriteArgs ( byte buffer, int offset, int count ) : void
DebugAssertReadWriteArgs ( byte buffer, int offset, int count, SafePipeHandle handle ) : void
GetPipePath ( string serverName, string pipeName ) : string
GetSecAttrs ( HandleInheritability inheritability ) : Interop.Kernel32.SECURITY_ATTRIBUTES
Init ( PipeDirection direction, PipeTransmissionMode transmissionMode, int outBufferSize ) : void
InitializeAsyncHandle ( SafePipeHandle handle ) : void

Initializes the handle to be used asynchronously.

InitializeHandle ( SafePipeHandle handle, bool isExposed, bool isAsync ) : void
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadAsyncCore ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadCore ( byte buffer, int offset, int count ) : int
ReadFileNative ( SafePipeHandle handle, byte buffer, int offset, int count, NativeOverlapped overlapped, int &errorCode ) : int
UninitializeAsyncHandle ( ) : void
UpdateMessageCompletion ( bool completion ) : void
UpdateReadMode ( ) : void
ValidateHandleIsPipe ( SafePipeHandle safePipeHandle ) : void

Throws an exception if the supplied handle does not represent a valid pipe.

WinIOError ( int errorCode ) : Exception
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteAsyncCore ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteCore ( byte buffer, int offset, int count ) : void
WriteFileNative ( SafePipeHandle handle, byte buffer, int offset, int count, NativeOverlapped overlapped, int &errorCode ) : int

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, System callback, object state ) : System.IAsyncResult
buffer byte
offset int
count int
callback System
state object
리턴 System.IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int count, System callback, object state ) : System.IAsyncResult
buffer byte
offset int
count int
callback System
state object
리턴 System.IAsyncResult

CheckPipePropertyOperations() 보호된 메소드

protected CheckPipePropertyOperations ( ) : void
리턴 void

CheckReadOperations() 보호된 메소드

protected CheckReadOperations ( ) : void
리턴 void

CheckWriteOperations() 보호된 메소드

protected CheckWriteOperations ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndRead() 공개 메소드

public EndRead ( System asyncResult ) : int
asyncResult System
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

EndWrite() 공개 메소드

public EndWrite ( System asyncResult ) : void
asyncResult System
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

InitializeHandle() 보호된 메소드

protected InitializeHandle ( Microsoft handle, bool isExposed, bool isAsync ) : void
handle Microsoft
isExposed bool
isAsync bool
리턴 void

PipeStream() 보호된 메소드

protected PipeStream ( System direction, System transmissionMode, int outBufferSize )
direction System
transmissionMode System
outBufferSize int

PipeStream() 보호된 메소드

protected PipeStream ( System direction, int bufferSize )
direction System
bufferSize int

PipeStream() 보호된 메소드

protected PipeStream ( PipeDirection direction, PipeTransmissionMode transmissionMode, int outBufferSize ) : Microsoft.Win32.SafeHandles
direction PipeDirection
transmissionMode PipeTransmissionMode
outBufferSize int
리턴 Microsoft.Win32.SafeHandles

PipeStream() 보호된 메소드

protected PipeStream ( PipeDirection direction, int bufferSize ) : Microsoft.Win32.SafeHandles
direction PipeDirection
bufferSize int
리턴 Microsoft.Win32.SafeHandles

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System
리턴 System.Threading.Tasks.Task

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

Seek() 공개 메소드

public Seek ( long offset, System origin ) : long
offset long
origin System
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

WaitForPipeDrain() 공개 메소드

public WaitForPipeDrain ( ) : void
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void

WriteAsync() 공개 메소드

public WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System
리턴 System.Threading.Tasks.Task

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void