Экспорт (0) Печать
Развернуть все
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

CloudBlobClient.Timeout Property

Updated: April 24, 2011

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

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

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Dim instance As CloudBlobClient
Dim value As TimeSpan

value = instance.Timeout

instance.Timeout = value

public TimeSpan Timeout { get; set; }

Property Value

Type: System.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.

If you are downloading a large blob, you should increase the value of the Timeout property beyond the default value.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012


Корпорация Майкрософт проводит интернет-опрос, чтобы выяснить ваше мнение о веб-сайте MSDN. Если вы желаете принять участие в этом интернет-опросе, он будет отображен при закрытии веб-сайта MSDN.

Вы хотите принять участие?
© 2015 Microsoft