Udostępnij za pośrednictwem


IStreamedFileDataRequest Interface

Definition

Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync or ReplaceWithStreamedFileAsync.

public interface class IStreamedFileDataRequest
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(376700110, 55997, 19792, 190, 238, 24, 11, 138, 129, 145, 182)]
struct IStreamedFileDataRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(376700110, 55997, 19792, 190, 238, 24, 11, 138, 129, 145, 182)]
public interface IStreamedFileDataRequest
Public Interface IStreamedFileDataRequest
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Methods

FailAndClose(StreamedFileFailureMode)

Indicates that the data can't be streamed and releases system resources that are exposed by the current stream indicating that the data request is complete.

Applies to