Delegate BatchRequest.OnResponse<TResponse> (1.68.0)

public delegate void BatchRequest.OnResponse<in TResponse>(TResponse content, RequestError error, int index, HttpResponseMessage message) where TResponse : class

A concrete type callback for an individual response.

Namespace

Google.Apis.Requests

Assembly

Google.Apis.dll

Parameters

Name Description
content TResponse

The parsed content response or null if the request failed or the response could not be parsed using the associated Serializer.

error RequestError

Error or null if the request succeeded and response content was parsed succesfully.

index int

The request index.

message HttpResponseMessage

The HTTP individual response.

Type Parameter

Name Description
TResponse

The response type.

Extension Method