ServiceBusProcessor.AutoCompleteMessages Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the processor should automatically complete messages after the message handler has completed processing. If the message handler triggers an exception, the message will not be automatically completed.
public virtual bool AutoCompleteMessages { get; }
member this.AutoCompleteMessages : bool
Public Overridable ReadOnly Property AutoCompleteMessages As Boolean
Property Value
The option to auto complete messages is specified using AutoCompleteMessages
and has a default value of true
.
Remarks
If the message handler triggers an exception and did not settle the message, then the message will be automatically abandoned, irrespective of AutoCompleteMessages.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för