FileStream Class |
Namespace: CMS.AzureStorage
public class FileStream : FileStream, IMultiPartUploadStream
The FileStream type exposes the following members.
Name | Description | |
---|---|---|
FileStream(String, FileMode) |
Initializes new instance and initializes new system file stream.
| |
FileStream(String, FileMode, FileAccess) |
Initializes new instance and initializes new system file stream.
| |
FileStream(String, FileMode, FileAccess, FileShare) |
Initializes new instance and initializes new system file stream.
| |
FileStream(String, FileMode, FileAccess, FileShare, Int32) |
Initializes new instance and initializes new system file stream.
|
Name | Description | |
---|---|---|
CanRead |
Gets a value indicating whether the current stream supports reading.
(Overrides StreamCanRead.) | |
CanSeek |
Gets a value indicating whether the current stream supports seeking.
(Overrides StreamCanSeek.) | |
CanWrite |
Gets a value indicating whether the current stream supports writing.
(Overrides StreamCanWrite.) | |
Length |
Length of stream.
(Overrides StreamLength.) | |
MaximalPartSize |
Maximal size of the part used in multipart upload process to Azure blob storage.
| |
MinimalPartSize |
Returns minimal size of the part used in multipart upload process to Azure blob storage.
| |
Path |
Stream path
(Inherited from FileStream.) | |
Position |
Gets or sets position of current stream.
(Overrides StreamPosition.) |
Name | Description | |
---|---|---|
AbortMultiPartUpload |
Aborts multipart upload, so Azure blob storage can delete uploaded parts.
| |
Close |
Closes current stream.
(Overrides StreamClose.) | |
CompleteMultiPartUploadProcess |
Completes multiple part upload process.
Sends final request to Azure blob storage to merge all parts already sent.
| |
Dispose |
Releases all unmanaged and optionally managed resources.
(Overrides StreamDispose(Boolean).) | |
Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush.) | |
InitFileStream |
Initializes the stream
| |
InitMultiPartUpload |
Inits multipart upload to Azure blob storage.
| |
LogFileOperation |
Logs the file operation. Logs the file operation to the file and to current request log for debugging.
(Inherited from FileStream.) | |
Read |
Reads data from stream and stores them into array.
(Overrides StreamRead(Byte, Int32, Int32).) | |
Seek |
Sets the position within the current stream to the specified value.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
SetLength |
Set length to stream.
(Overrides StreamSetLength(Int64).) | |
UploadStreamContentAsMultiPart |
Uploads data inside a stream in multiple parts to Azure blob storage.
| |
Write |
Writes sequence of bytes to stream.
(Overrides StreamWrite(Byte, Int32, Int32).) | |
WriteByte |
Writes byte to the stream.
(Overrides StreamWriteByte(Byte).) |