Class AnnotateImageException (2.5.0)

public sealed class AnnotateImageException : Exception, ISerializable

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