IStreamedFileDataRequest IStreamedFileDataRequest IStreamedFileDataRequest IStreamedFileDataRequest Interface


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 IStreamedFileDataRequest
public interface IStreamedFileDataRequest
Public Interface IStreamedFileDataRequest
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


FailAndClose(StreamedFileFailureMode) FailAndClose(StreamedFileFailureMode) FailAndClose(StreamedFileFailureMode) 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.

public : void FailAndClose(StreamedFileFailureMode failureMode)
public void FailAndClose(StreamedFileFailureMode failureMode)
Public Function FailAndClose(failureMode As StreamedFileFailureMode) As void
StreamedFileFailureMode StreamedFileFailureMode StreamedFileFailureMode StreamedFileFailureMode

The enum value that indicates why the data stream can't be accessed.