Condividi tramite


ClientRequestIdProvider(Func<IBatchRequest,Guid>) Constructor

Definition

Initializes a new ClientRequestIdProvider for use in setting the client request id of a request.

public ClientRequestIdProvider (Func<Microsoft.Azure.Batch.Protocol.IBatchRequest,Guid> generateClientRequestIdFunc);
new Microsoft.Azure.Batch.ClientRequestIdProvider : Func<Microsoft.Azure.Batch.Protocol.IBatchRequest, Guid> -> Microsoft.Azure.Batch.ClientRequestIdProvider
Public Sub New (generateClientRequestIdFunc As Func(Of IBatchRequest, Guid))

Parameters

generateClientRequestIdFunc
Func<IBatchRequest,Guid>

A function used to generate the client request id. This function may be called more than once for any given operation due to retries.

Applies to