Show / Hide Table of Contents

Class OperationFailedException

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

Inheritance
System.Object
System.Exception
OperationFailedException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Google.LongRunning
Assembly: Google.LongRunning.dll
Syntax
public class OperationFailedException : Exception, ISerializable, _Exception

Constructors

OperationFailedException(Operation)

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

Declaration
public OperationFailedException(Operation operation)
Parameters
Type Name Description
Operation operation

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

Properties

Operation

The operation message containing the original error.

Declaration
public Operation Operation { get; }
Property Value
Type Description
Operation

Status

The status message within the operation's error field.

Declaration
public Status Status { get; }
Property Value
Type Description
Status
Back to top