Metodo BlobRequest.Get (Uri, Int32, Generico Nullable, Int64, Int64, String)

Constructs a web request to return a specified range of the blob's content, together with its properties and metadata.

Spazio dei nomi: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in microsoft.windowsazure.storageclient.dll)

Utilizzo

'Utilizzo
Dim uri As Uri
Dim timeout As Integer
Dim snapshot As Nullable(Of DateTime)
Dim offset As Long
Dim count As Long
Dim leaseId As String
Dim returnValue As HttpWebRequest

returnValue = BlobRequest.Get(uri, timeout, snapshot, offset, count, leaseId)

Sintassi

'Dichiarazione
Public Shared Function Get ( _
    uri As Uri, _
    timeout As Integer, _
    snapshot As Nullable(Of DateTime), _
    offset As Long, _
    count As Long, _
    leaseId As String _
) As HttpWebRequest
public static HttpWebRequest Get (
    Uri uri,
    int timeout,
    Nullable<DateTime> snapshot,
    long offset,
    long count,
    string leaseId
)
public:
static HttpWebRequest^ Get (
    Uri^ uri, 
    int timeout, 
    Nullable<DateTime> snapshot, 
    long long offset, 
    long long count, 
    String^ leaseId
)
public static HttpWebRequest Get (
    Uri uri, 
    int timeout, 
    Nullable<DateTime> snapshot, 
    long offset, 
    long count, 
    String leaseId
)
public static function Get (
    uri : Uri, 
    timeout : int, 
    snapshot : Nullable<DateTime>, 
    offset : long, 
    count : long, 
    leaseId : String
) : HttpWebRequest

Parametri

  • uri
    The absolute URI to the blob.
  • timeout
    The server timeout interval.
  • snapshot
    The snapshot version, if the blob is a snapshot.
  • offset
    The offset at which to begin returning content.
  • count
    The number of bytes to return.
  • leaseId
    The lease ID for the blob, if it has an active lease.

Valore restituito

A web request to use to perform the operation.

Codice thread safe

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. I membri di istanza non sono garantiti come thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 e Windows 2000

Piattaforme di destinazione

Vedere anche

Riferimenti

Classe BlobRequest
Membri BlobRequest
Spazio dei nomi Microsoft.WindowsAzure.StorageClient.Protocol