File Data Request Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class StreamedFileDataRequest sealed : IClosable, IStreamedFileDataRequest, IOutputStream
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] class StreamedFileDataRequest final : IClosable, IStreamedFileDataRequest, IOutputStream
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public sealed class StreamedFileDataRequest : System.IDisposable, IStreamedFileDataRequest, IOutputStream
Public NotInheritable Class StreamedFileDataRequest Implements IDisposable, IOutputStream, IStreamedFileDataRequest
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
This object is passed to the app's StreamedFileDataRequestedHandler function when a stream that is represented by a StorageFile is accessed. Define the StreamedFileDataRequestedHandler function if you use CreateStreamedFileAsync or ReplaceWithStreamedFileAsync to get a StorageFile that represents the stream.
Releases system resources that are exposed by the current stream indicating that the data request is complete.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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.
Flushes the data in the current stream.
Writes data from a buffer to the current stream.