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.
Implements
ISerializableNamespace
Google.LongRunningAssembly
Google.LongRunning.dll
Constructors
OperationFailedException(Operation)
public OperationFailedException(Operation operation)
Constructs an exception based on a protobuf message representing a failed operation.
Parameter | |
---|---|
Name | Description |
operation |
Operation 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 | |
---|---|
Type | Description |
Operation |
Status
public Status Status { get; }
The status message within the operation's error field.
Property Value | |
---|---|
Type | Description |
Status |