Google Cloud Vision v1 API - Class AnnotateImageException (3.4.0)

public sealed class AnnotateImageException : Exception, ISerializable

Reference documentation and code samples for the Google Cloud Vision v1 API class AnnotateImageException.

An error occurring when annotating an image.

Inheritance

object > Exception > AnnotateImageException

Implements

ISerializable

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

AnnotateImageException(AnnotateImageResponse)

public AnnotateImageException(AnnotateImageResponse response)

Constructs an exception based on the error in response.

Parameter
NameDescription
responseAnnotateImageResponse

The response containing the error. Must not be null, and the Error property must not be null.

Properties

Response

public AnnotateImageResponse Response { get; }

The complete response containing the error.

Property Value
TypeDescription
AnnotateImageResponse