你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
RequestInterceptor()

Initializes a new instance of RequestInterceptor.

RequestInterceptor(BatchRequestModificationInterceptHandler)

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

Properties

Name Description
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