导出 (0) 打印
全部展开
此主题尚未评级 - 评价此主题

CloudBlobClient.RetryPolicy 属性

Gets or sets the default retry policy for requests made via the Blob service client.

命名空间: Microsoft.WindowsAzure.StorageClient
程序集: Microsoft.WindowsAzure.StorageClient(在 microsoft.windowsazure.storageclient.dll 中)
用法
Dim instance As CloudBlobClient
Dim value As RetryPolicy

value = instance.RetryPolicy

instance.RetryPolicy = value
public RetryPolicy RetryPolicy { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public RetryPolicy get_RetryPolicy ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_RetryPolicy (RetryPolicy value)

CompilerGeneratedAttribute 
public function get RetryPolicy () : RetryPolicy

CompilerGeneratedAttribute 
public function set RetryPolicy (value : RetryPolicy)

属性值

The retry policy.

Setting the retry policy for the service client establishes the default policy for all requests made via the client, unless the request explicitly sets the retry policy.

To set the retry policy for an individual request, set the RetryPolicy property of the BlobRequestOptions class to a delegate of type RetryPolicy. This property can be set to one of the methods provided by the RetryPolicies class, or to a custom retry policy delegate that you define.

For details on implementing either a pre-defined or a custom retry policy, see RetryPolicies.


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

开发平台

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

目标平台

本文是否对您有所帮助?
(1500 个剩余字符)
感谢您的反馈

社区附加资源

显示:
© 2014 Microsoft. 版权所有。