Share via


RequestInterceptor Class

Definition

This class enables an interceptor to inspect, modify or ignore a IBatchRequest.

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

Constructors

RequestInterceptor()

Initializes a new instance of RequestInterceptor.

RequestInterceptor(BatchRequestModificationInterceptHandler)

Initializes a new instance of RequestInterceptor that calls a given BatchRequestModificationInterceptHandler.

Properties

ModificationInterceptHandler

Gets or sets the BatchRequestModificationInterceptHandler.

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