Click or drag to resize

GridFSDownloadStreamTFileIdClose Method

Overload List
Public methodClose
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.
(Inherited from Stream.)
Public methodClose(CancellationToken)
Closes the GridFS stream.
See Also