Show / Hide Table of Contents

Delegate BatchRequest.OnResponse<TResponse>

A concrete type callback for an individual response.

Namespace: Google.Apis.Requests
Assembly: Google.Apis.dll
Syntax
public delegate void OnResponse<in TResponse>(TResponse content, RequestError error, int index, HttpResponseMessage message)
    where TResponse : class;
Parameters
Type Name Description
TResponse content

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

Google.Apis.Requests.RequestError error

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

System.Int32 index

The request index.

System.Net.Http.HttpResponseMessage message

The HTTP individual response.

Type Parameters
Name Description
TResponse

The response type.

In This Article
Back to top