Gets the stream this asynchronous operation is using.
public Stream Stream { get; }
public:
property Stream^ Stream {
Stream^ get();
}
Stream # get (CodecsAsyncCompletedEventArgs)
The Stream this asynchronous operation is using.
NOTE: This topic is part of RasterCodecs
Async support using the .NET System.ComponentMode.AsyncOperation
model. For .NET async/await
support this type/member is not used. Instead, refer to RasterCodecs Async Operations.
Only one of the following can be a valid value (not a null reference) at any time: Uri, Stream or FileName. The property that contains a valid reference depends on what version of RasterCodecs.GetInformationAsync, RasterCodecs.LoadAsync or RasterCodecs.SaveAsync method has been called.
For example, if RasterCodecs.LoadAsync(Uri uri, object userState) is being called, the Uri will contain the same URI passed to the method while Stream and FileName will both be null.
If RasterCodecs.LoadAsync(String fileName, object userState) is being called, the FileName will contain the same file name string value passed to the method while Uri and Stream will both be null and so on.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document