public sealed class PreconditionFailure : IMessage<PreconditionFailure>, IEquatable<PreconditionFailure>, IDeepCloneable<PreconditionFailure>, IBufferMessage, IMessage
Describes what preconditions have failed.
For example, if an RPC failed because it required the Terms of Service to be
acknowledged, it could list the terms of service violation in the
PreconditionFailure message.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `PreconditionFailure` class describes the reasons for failed preconditions in an RPC, such as unacknowledged Terms of Service."],["This class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `Violations` property, of type `RepeatedField`, provides a collection detailing specific precondition violations."],["The `PreconditionFailure` class offers constructors, methods like `Clone()`, `Equals()`, `MergeFrom()`, and `WriteTo()`, and properties like `Descriptor`, `Parser`, and `Violations`."],["The namespace of this class is `Google.Rpc`, which can be found within the `Google.Api.CommonProtos.dll` assembly."]]],[]]