[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eOperationFailedException\u003c/code\u003e class is used to indicate that a long-running operation has failed within the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis exception class inherits from \u003ccode\u003eException\u003c/code\u003e and implements the \u003ccode\u003eISerializable\u003c/code\u003e interface, allowing it to be serialized.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is version 3.3.0, with previous versions dating back to version 2.2.0 and all being available as part of the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eYou can construct an \u003ccode\u003eOperationFailedException\u003c/code\u003e using a failed operation's protobuf message, containing relevant details about the error, including the error \u003ccode\u003eStatus\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperation\u003c/code\u003e property of this class contains the details of the failed operation, and the \u003ccode\u003eStatus\u003c/code\u003e property holds the error status message from the operation's error field.\u003c/p\u003e\n"]]],[],null,["# Google.LongRunning - Class OperationFailedException (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationFailedException)\n- [3.2.0](/dotnet/docs/reference/Google.LongRunning/3.2.0/Google.LongRunning.OperationFailedException)\n- [3.1.0](/dotnet/docs/reference/Google.LongRunning/3.1.0/Google.LongRunning.OperationFailedException)\n- [3.0.0](/dotnet/docs/reference/Google.LongRunning/3.0.0/Google.LongRunning.OperationFailedException)\n- [2.3.0](/dotnet/docs/reference/Google.LongRunning/2.3.0/Google.LongRunning.OperationFailedException)\n- [2.2.0](/dotnet/docs/reference/Google.LongRunning/2.2.0/Google.LongRunning.OperationFailedException) \n\n public class OperationFailedException : Exception, ISerializable\n\nReference documentation and code samples for the Google.LongRunning class OperationFailedException.\n\nAn exception to indicate that a long-running operation failed. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [Exception](https://learn.microsoft.com/dotnet/api/system.exception) \\\u003e OperationFailedException \n\nImplements\n----------\n\n[ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) \n\nInherited Members\n-----------------\n\n[Exception.GetBaseException()](https://learn.microsoft.com/dotnet/api/system.exception.getbaseexception) \n[Exception.GetObjectData(SerializationInfo, StreamingContext)](https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata) \n[Exception.GetType()](https://learn.microsoft.com/dotnet/api/system.exception.gettype) \n[Exception.ToString()](https://learn.microsoft.com/dotnet/api/system.exception.tostring) \n[Exception.Data](https://learn.microsoft.com/dotnet/api/system.exception.data) \n[Exception.HelpLink](https://learn.microsoft.com/dotnet/api/system.exception.helplink) \n[Exception.HResult](https://learn.microsoft.com/dotnet/api/system.exception.hresult) \n[Exception.InnerException](https://learn.microsoft.com/dotnet/api/system.exception.innerexception) \n[Exception.Message](https://learn.microsoft.com/dotnet/api/system.exception.message) \n[Exception.Source](https://learn.microsoft.com/dotnet/api/system.exception.source) \n[Exception.StackTrace](https://learn.microsoft.com/dotnet/api/system.exception.stacktrace) \n[Exception.TargetSite](https://learn.microsoft.com/dotnet/api/system.exception.targetsite) \n[Exception.SerializeObjectState](https://learn.microsoft.com/dotnet/api/system.exception.serializeobjectstate) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)\n\nNamespace\n---------\n\n[Google.LongRunning](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning)\n\nAssembly\n--------\n\nGoogle.LongRunning.dll\n\nConstructors\n------------\n\n### OperationFailedException(Operation)\n\n public OperationFailedException(Operation operation)\n\nConstructs an exception based on a protobuf message representing a failed operation.\n\nProperties\n----------\n\n### Operation\n\n public Operation Operation { get; }\n\nThe operation message containing the original error.\n\n### Status\n\n public Status Status { get; }\n\nThe status message within the operation's error field."]]