[[["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 Pub/Sub v1 API, specifically for .NET development."],["The latest version of the PubsubExtensions is 3.23.0, with a comprehensive list of previous versions available for reference, starting from version 3.22.0 all the way to 2.3.0, with links to their respective documentation."],["The `PubsubExtensions` class offers an extension method named `GetDeliveryAttempt`, which allows retrieving the delivery attempt of a `PubsubMessage` when dead-letter queues are enabled on the subscription."],["The `GetDeliveryAttempt` method returns an integer representing the delivery attempt count or `null` if the subscription lacks dead-letter queue functionality, with the delivery attempt being calculated as 1 plus the sum of NACKs and ack_deadline exceeds."]]],[]]