Экспорт (0) Печать
Развернуть все

Свойство CloudBlobClient.Timeout

Gets or sets the default timeout for requests made by the Blob service client.

Пространство имен: Microsoft.WindowsAzure.StorageClient
Сборка: Microsoft.WindowsAzure.StorageClient (в microsoft.windowsazure.storageclient.dll)

'Применение
Dim instance As CloudBlobClient
Dim value As TimeSpan

value = instance.Timeout

instance.Timeout = value

public TimeSpan Timeout { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public TimeSpan get_Timeout ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Timeout (TimeSpan value)

CompilerGeneratedAttribute 
public function get Timeout () : TimeSpan

CompilerGeneratedAttribute 
public function set Timeout (value : TimeSpan)

Значение свойства

The timeout interval.

The server timeout interval begins at the time that the complete request has been received by the service, and the server begins processing the response. If the timeout interval elapses before the response is returned to the client, the operation times out. The timeout interval resets with each retry, if the request is retried.

The default timeout interval for a request made via the service client is 90 seconds. You can change this value on the service client by setting this property, so that all subsequent requests made via the service client will use the new timeout interval. You can also change this value for an individual request, by setting the Timeout property.

ImportantВажно
If you are downloading a large blob, you should increase the value of the Timeout property beyond the default value.


Все открытые статические (Совместно используемая в Visual Basic) члены этого типа являются потокобезопасными. Потокобезопасность членов экземпляров не гарантируется.

Платформы разработки

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

Целевые платформы

Добавления сообщества

Показ:
© 2014 Microsoft