Sdílet prostřednictvím


ClientRequestIdProvider Class

Definition

Interceptor which contains a function used to generate a client request id to set as ClientRequestId. If there are multiple instances of this then the last set wins.

public class ClientRequestIdProvider : Microsoft.Azure.Batch.Protocol.RequestInterceptor
type ClientRequestIdProvider = class
    inherit RequestInterceptor
Public Class ClientRequestIdProvider
Inherits RequestInterceptor
Inheritance

Constructors

ClientRequestIdProvider(Func<IBatchRequest,Guid>)

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

Properties

ModificationInterceptHandler

Gets or sets the BatchRequestModificationInterceptHandler.

(Inherited from RequestInterceptor)
ReplacementInterceptHandler

Gets or sets a method that will be called just before a IBatchRequest is executed. The request can be inspected, replaced, modified or ignored.

(Inherited from RequestReplacementInterceptor)

Applies to