ClientRequestIdProvider(Func<IBatchRequest,Guid>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET