ODataBatchHandler Class

 

Defines the abstraction for handling OData batch requests.

Namespace:   System.Web.Http.OData.Batch
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Web.Http.Batch.HttpBatchHandler
      System.Web.Http.OData.Batch.ODataBatchHandler
        System.Web.Http.OData.Batch.DefaultODataBatchHandler
        System.Web.Http.OData.Batch.UnbufferedODataBatchHandler

Syntax

public abstract class ODataBatchHandler : HttpBatchHandler
public ref class ODataBatchHandler abstract : HttpBatchHandler
[<AbstractClass>]
type ODataBatchHandler = 
    class
        inherit HttpBatchHandler
    end
Public MustInherit Class ODataBatchHandler
    Inherits HttpBatchHandler

Constructors

Name Description
System_CAPS_protmethod ODataBatchHandler(HttpServer)

Initializes a new instance of the ODataBatchHandler class.

Properties

Name Description
System_CAPS_pubproperty Invoker

Gets the invoker to send the batch requests to the HttpServer.(Inherited from HttpBatchHandler.)

System_CAPS_pubproperty MessageQuotas

Gets the ODataMessageQuotas used for reading/writing the batch request/response.

System_CAPS_pubproperty ODataRouteName

Gets or sets the name of the OData route associated with this batch handler.

Methods

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ProcessBatchAsync(HttpRequestMessage, CancellationToken)

Processes the incoming batch request as a single HttpRequestMessage.(Inherited from HttpBatchHandler.)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Sends the batch handler asynchronously.(Inherited from HttpBatchHandler.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Batch Namespace

Return to top