BlobRequest.Get 方法 (Uri, Int32, 泛型 Nullable, Int64, Int64, String)

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

命名空间: Microsoft.WindowsAzure.StorageClient.Protocol
程序集: Microsoft.WindowsAzure.StorageClient(在 microsoft.windowsazure.storageclient.dll 中)

用法
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)

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 offset, 
	long count, 
	String leaseId
)
public static function Get (
	uri : Uri, 
	timeout : int, 
	snapshot : Nullable<DateTime>, 
	offset : long, 
	count : long, 
	leaseId : String
) : HttpWebRequest

参数

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.

返回值

A web request to use to perform the operation.

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。

开发平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003、Windows Server 2008 和 Windows 2000

目标平台

参考

BlobRequest 类
BlobRequest 成员
Microsoft.WindowsAzure.StorageClient.Protocol 命名空间

社区附加资源

显示: