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)

public static void SetRetryPolicy<T>(
	this ServiceClient<T> client,
	RetryPolicy retryPolicy
)
where T : ServiceClient<T>

Parameters

client
Type: Microsoft.WindowsAzure.Common.ServiceClient<T>

Service client.

retryPolicy
Type: Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryPolicy

Retry policy to set.

Type Parameters

T

Service client type.

Return to top
Show: