Метод | Описание | |
---|---|---|
CloneStream ( ) : IRandomAccessStream | ||
FlushAsync ( ) : IAsyncOperation |
||
GetInputStreamAt ( UInt64 position ) : IInputStream | ||
GetManagedStream ( ) : |
||
GetOutputStreamAt ( UInt64 position ) : IOutputStream | ||
ReadAsync ( Windows.Storage.Streams.IBuffer buffer, UInt32 count, InputStreamOptions options ) : UInt32>.IAsyncOperationWithProgress |
||
Seek ( UInt64 position ) : void | ||
WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : UInt32>.IAsyncOperationWithProgress |
Метод | Описание | |
---|---|---|
CanApplyReadMemoryStreamOptimization ( |
||
Create ( |
||
DetermineStreamReadOptimization ( |
||
EnsureNotDisposed ( ) : |
||
IDisposable ( ) : void |
Implements IDisposable.Dispose (IClosable.Close in WinRT)
|
|
NetFxToWinRtStreamAdapter ( |
||
SetWonInitializationRace ( ) : void |
We keep tables for mappings between managed and WinRT streams to make sure to always return the same adapter for a given underlying stream. However, in order to avoid global locks on those tables, several instances of this type may be created and then can race to be entered into the appropriate map table. All except for the winning instances will be thrown away. However, we must ensure that when the losers are finalized, they do not dispose the underlying stream. To ensure that, we must call this method on the winner to notify it that it is safe to dispose the underlying stream.
|
|
ThrowCloningNotSupported ( String methodName ) : void |
public CloneStream ( ) : IRandomAccessStream | ||
Результат | IRandomAccessStream |
public GetInputStreamAt ( UInt64 position ) : IInputStream | ||
position | UInt64 | |
Результат | IInputStream |
public GetOutputStreamAt ( UInt64 position ) : IOutputStream | ||
position | UInt64 | |
Результат | IOutputStream |
public ReadAsync ( Windows.Storage.Streams.IBuffer buffer, UInt32 count, InputStreamOptions options ) : UInt32>.IAsyncOperationWithProgress |
||
buffer | Windows.Storage.Streams.IBuffer | |
count | UInt32 | |
options | InputStreamOptions | |
Результат | UInt32>.IAsyncOperationWithProgress |
public WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : UInt32>.IAsyncOperationWithProgress |
||
buffer | Windows.Storage.Streams.IBuffer | |
Результат | UInt32>.IAsyncOperationWithProgress |