Google.LongRunning - Class OperationFailedException (3.1.0)

public class OperationFailedException : Exception, ISerializable

Reference documentation and code samples for the Google.LongRunning class OperationFailedException.

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