Método CloudExtensions.SetRetryPolicy
Sets retry policy for the client.
Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (em Microsoft.WindowsAzure.Common.dll)
Uso
'Uso
Dim client As ServiceClient(Of T)
Dim retryPolicy As RetryPolicy
CloudExtensions.SetRetryPolicy(client, retryPolicy)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Sub SetRetryPolicy(Of T As ServiceClient(Of T)) ( _
client As ServiceClient(Of T), _
retryPolicy As RetryPolicy _
)
[ExtensionAttribute]
public static void SetRetryPolicy<T> (
ServiceClient<T> client,
RetryPolicy retryPolicy
) where T : ServiceClient<T>
[ExtensionAttribute]
public:
generic<typename T> where T : ServiceClient<T>
static void SetRetryPolicy (
ServiceClient<T>^ client,
RetryPolicy^ retryPolicy
)
GenericParameters
- T
Service client type.
Parâmetros
- client
Service client.
- retryPolicy
Retry policy to set.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe CloudExtensions
Membros CloudExtensions
Namespace Microsoft.WindowsAzure.Common.Internals