Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.IO.Pipes.PipeStream.PipeValueTaskSource Class Referenceabstract

Public Member Functions

ValueTaskSourceStatus GetStatus (short token)
 
void OnCompleted (Action< object > continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
 
int GetResult (short token)
 
void OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags)
 
void OnCompleted (Action< object?> continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags)
 

Protected Member Functions

 PipeValueTaskSource (PipeStream pipeStream)
 
void CompleteCore (uint errorCode, uint numBytes)
 

Package Functions

void Dispose ()
 
unsafe void PrepareForOperation (ReadOnlyMemory< byte > memory=default(ReadOnlyMemory< byte >))
 
unsafe void RegisterForCancellation (CancellationToken cancellationToken)
 
unsafe void ReleaseResources ()
 
void FinishedScheduling ()
 

Package Attributes

readonly PreAllocatedOverlapped _preallocatedOverlapped
 
readonly PipeStream _pipeStream
 
MemoryHandle _memoryHandle
 
ManualResetValueTaskSourceCore< int > _source
 
unsafe NativeOverlapped_overlapped
 
CancellationTokenRegistration _cancellationRegistration
 
ulong _result
 

Static Package Attributes

static unsafe readonly IOCompletionCallback s_ioCallback = IOCallback
 

Properties

short Version [get]
 

Private Member Functions

void IValueTaskSource. GetResult (short token)
 
void Complete (uint errorCode, uint numBytes)
 

Static Private Member Functions

static unsafe void IOCallback (uint errorCode, uint numBytes, NativeOverlapped *pOverlapped)
 

Detailed Description

Definition at line 15 of file PipeStream.cs.


The documentation for this class was generated from the following file: