CloudExtensions.SetRetryPolicy<T> Method (ServiceClient<T>, RetryPolicy)

 

Sets retry policy for the client.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public static void SetRetryPolicy<T>(
    this ServiceClient<T> client,
    RetryPolicy retryPolicy
)
where T : ServiceClient<T>
public:
generic<typename T>
where T : ServiceClient<T>
[ExtensionAttribute]
static void SetRetryPolicy(
    ServiceClient<T>^ client,
    RetryPolicy^ retryPolicy
)
static member SetRetryPolicy<'T when 'T : ServiceClient<'T>> : 
        client:ServiceClient<'T> *
        retryPolicy:RetryPolicy -> unit
<ExtensionAttribute>
Public Shared Sub SetRetryPolicy(Of T As ServiceClient(Of T)) (
    client As ServiceClient(Of T),
    retryPolicy As RetryPolicy
)

Parameters

Type Parameters

  • T
    Service client type.

See Also

CloudExtensions Class
Microsoft.WindowsAzure.Common.Internals Namespace

Return to top