Discuss this help topic in SecureBlackbox Forum

TElWinAzureDataStorageContainer.ReadBlock

TElWinAzureDataStorageContainer     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Reads block of data from the storage.

Declaration

[C#/Java]
    void ReadBlock(string Name, System.IO.Stream Strm, long Offset, long Size, ref long Read);
    void ReadBlock(string Name, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum);
    void ReadBlock(string Name, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum, TElStringList Metadata, ref string ObjContentType, ref string ObjContentEncoding, ref string ObjContentLanguage, ref string ObjETag);
    void ReadBlock(string Name, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum, TElStringList Metadata, ref string ObjContentType, ref string ObjContentEncoding, ref string ObjContentLanguage, ref string ObjContentMD5, ref string ObjETag);
    void ReadBlock(string Name, string SharedAccessSignature, System.IO.Stream Strm, long Offset, long Size, ref long Read);
    void ReadBlock(string Name, string SharedAccessSignature, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum);
    void ReadBlock(string Name, string SharedAccessSignature, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum, TElStringList Metadata, ref string ObjContentType, ref string ObjContentEncoding, ref string ObjContentLanguage, ref string ObjETag);
    void ReadBlock(string Name, string SharedAccessSignature, System.IO.Stream Strm, long Offset, long Size, ref long Read, TSBWinAzureObjectAccessCondition Condition, DateTime DateTime, string ETag, long SeqNum, TElStringList Metadata, ref string ObjContentType, ref string ObjContentEncoding, ref string ObjContentLanguage, ref string ObjContentMD5, ref string ObjETag);

[VB.NET]
    Sub ReadBlock(ByVal Name As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long)
    Sub ReadBlock(ByVal Name As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long)
    Sub ReadBlock(ByVal Name As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentEncoding As String, ByRef ObjContentLanguage As String, ByRef ObjETag As String)
    Sub ReadBlock(ByVal Name As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentEncoding As String, ByRef ObjContentLanguage As String, ByRef ObjContentMD5 As String, ByRef ObjETag As String)
    Sub ReadBlock(ByVal Name As String, ByVal SharedAccessSignature As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long)
    Sub ReadBlock(ByVal Name As String, ByVal SharedAccessSignature As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long)
    Sub ReadBlock(ByVal Name As String, ByVal SharedAccessSignature As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentEncoding As String, ByRef ObjContentLanguage As String, ByRef ObjETag As String)
    Sub ReadBlock(ByVal Name As String, ByVal SharedAccessSignature As String, ByVal Strm As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long, ByRef Read As Long, ByVal Condition As TSBWinAzureObjectAccessCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal SeqNum As Long, ByVal Metadata As TElStringList, ByRef ObjContentType As String, ByRef ObjContentEncoding As String, ByRef ObjContentLanguage As String, ByRef ObjContentMD5 As String, ByRef ObjETag As String)

[Pascal]
    procedure ReadBlock(const Name : string; Strm : TStream; Offset, Size : Int64; var Read : Int64);
    procedure ReadBlock(const Name : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64);
    procedure ReadBlock(const Name : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64; Metadata : TStringList; var ObjContentType : string; var ObjContentEncoding : string; var ObjContentLanguage : string; var ObjETag : string);
    procedure ReadBlock(const Name : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64; Metadata : TStringList; var ObjContentType : string; var ObjContentEncoding : string; var ObjContentLanguage : string; var ObjContentMD5 : string; var ObjETag : string);
    procedure ReadBlock(const Name : string; const SharedAccessSignature : string; Strm : TStream; Offset, Size : Int64; var Read : Int64);
    procedure ReadBlock(const Name : string; const SharedAccessSignature : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64);
    procedure ReadBlock(const Name : string; const SharedAccessSignature : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64; Metadata : TStringList; var ObjContentType : string; var ObjContentEncoding : string; var ObjContentLanguage : string; var ObjETag : string);
    procedure ReadBlock(const Name : string; const SharedAccessSignature : string; Strm : TStream; Offset, Size : Int64; var Read : Int64; Condition : TSBWinAzureObjectAccessCondition; DateTime : TDateTime; const ETag : string; SeqNum : Int64; Metadata : TStringList; var ObjContentType : string; var ObjContentEncoding : string; var ObjContentLanguage : string; var ObjContentMD5 : string; var ObjETag : string);

[C++]
    void ReadBlock(const std::string &Name, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Name, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Name, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum);
    void ReadBlock(const std::string &Name, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum);
    void ReadBlock(const std::string &Name, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjETag);
    void ReadBlock(const std::string &Name, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjETag);
    void ReadBlock(const std::string &Name, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjContentMD5, std::string &ObjETag);
    void ReadBlock(const std::string &Name, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjContentMD5, std::string &ObjETag);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjETag);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjETag);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream &Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList &Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjContentMD5, std::string &ObjETag);
    void ReadBlock(const std::string &Name, const std::string &SharedAccessSignature, TStream *Strm, int64_t Offset, int64_t Size, int64_t &Read, TSBWinAzureObjectAccessCondition Condition, int64_t DateTime, const std::string &ETag, int64_t SeqNum, TElStringList *Metadata, std::string &ObjContentType, std::string &ObjContentEncoding, std::string &ObjContentLanguage, std::string &ObjContentMD5, std::string &ObjETag);

[PHP]
    void ReadBlock(string $Name, TStream $Strm, integer $Offset, integer $Size, integer &$Read)
    void ReadBlock(string $Name, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum)
    void ReadBlock(string $Name, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentEncoding, string &$ObjContentLanguage, string &$ObjETag)
    void ReadBlock(string $Name, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentEncoding, string &$ObjContentLanguage, string &$ObjContentMD5, string &$ObjETag)
    void ReadBlock(string $Name, string $SharedAccessSignature, TStream $Strm, integer $Offset, integer $Size, integer &$Read)
    void ReadBlock(string $Name, string $SharedAccessSignature, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum)
    void ReadBlock(string $Name, string $SharedAccessSignature, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentEncoding, string &$ObjContentLanguage, string &$ObjETag)
    void ReadBlock(string $Name, string $SharedAccessSignature, TStream $Strm, integer $Offset, integer $Size, integer &$Read, integer $Condition, DateTime $DateTime, string $ETag, integer $SeqNum, TElStringList $Metadata, string &$ObjContentType, string &$ObjContentEncoding, string &$ObjContentLanguage, string &$ObjContentMD5, string &$ObjETag)

Parameters

  • Condition - condition under which the object will be read.
  • DateTime - object's modification date and time.
  • ETag - object's entity tag.
  • Metadata - contains object's metadata.
  • Name - specifies object's name.
  • ObjContentEncoding - specifies content encoding of the object that has been read.
  • ObjContentLanguage - specifies content language of the object that has been read.
  • ObjContentMD5 - MD5 hash of the object's content.
  • ObjContentType - specifies content type of the object that has been read.
  • ObjETag - contains entity tag of the object that has been read.
  • Offset - offset of the data block.
  • Read - number of bytes that were actually read.
  • SeqNum - object's sequence number.
  • SharedAccessSignature - contains the Shared Access Signature (SAS).
  • Size - size the data block.
  • Strm - stream to which the object will be read.

Values


Description

    Use this method to read data block from the storage.

See also:     ReadObject    

Discuss this help topic in SecureBlackbox Forum