[[["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-03-31 UTC."],[[["This page provides documentation for the `PubsubExtensions` class within the `Google.Cloud.PubSub.V1` namespace, which contains extensions for working with Pub/Sub messages in .NET."],["The documentation covers a range of versions for the `Google.Cloud.PubSub.V1` library, with the latest version being 3.23.0, and it includes the current version that is selected, which is 3.9.1."],["The `PubsubExtensions` class inherits from `object` and provides one method, `GetDeliveryAttempt`, which allows retrieval of the delivery attempt number for a given `PubsubMessage`."],["The `GetDeliveryAttempt` method returns the delivery attempt as an integer or null if the subscription lacks dead-letter queue support, and this counter is calculated based on NACKs and ack_deadline exceedances."],["The page provides a detailed parameter and returns descriptions for the `GetDeliveryAttempt` method, specifying it accepts a `PubsubMessage` and outputs an integer type."]]],[]]