I​Input​Stream​Reference I​Input​Stream​Reference I​Input​Stream​Reference Interface

Definition

Enables a Windows Runtime component to provide sequential read access to an encapsulated stream.

public interface IInputStreamReferencepublic interface IInputStreamReferencePublic Interface IInputStreamReference
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Implement the IInputStreamReference interface when your Windows Runtime component exposes a sequential read-only stream to callers. For a random access stream, implement the IRandomAccessStreamReference interface. For info on implementing the IInputStreamReference interface, see the Remarks at IRandomAccessStreamReference.

Methods

OpenSequentialReadAsync() OpenSequentialReadAsync() OpenSequentialReadAsync()

Opens a stream for sequential read access.

public IAsyncOperation<IInputStream> OpenSequentialReadAsync()public IAsyncOperation<IInputStream> OpenSequentialReadAsync()Public Function OpenSequentialReadAsync() As IAsyncOperation( Of IInputStream )
Returns

The asynchronous operation.

Attributes