Class OperationFailedException (2.2.0)

public class OperationFailedException : Exception, ISerializable

An exception to indicate that a long-running operation failed.

Inheritance

Object > Exception > OperationFailedException

Implements

ISerializable

Namespace

Google.LongRunning

Assembly

Google.LongRunning.dll

Constructors

OperationFailedException(Operation)

public OperationFailedException(Operation operation)

Constructs an exception based on a protobuf message representing a failed operation.

Parameter
NameDescription
operationOperation

The failed operation. Must not be null, and must have an error.

Properties

Operation

public Operation Operation { get; }

The operation message containing the original error.

Property Value
TypeDescription
Operation

Status

public Status Status { get; }

The status message within the operation's error field.

Property Value
TypeDescription
Status