ServiceBusProcessorOptions.AutoCompleteMessages Property
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 or sets a value that indicates whether the processor should automatically complete messages after the ProcessMessageAsync handler has completed processing. If the message handler triggers an exception, the message will not be automatically completed.
public bool AutoCompleteMessages { get; set; }
member this.AutoCompleteMessages : bool with get, set
Public Property AutoCompleteMessages As Boolean
true
to complete the message automatically on successful execution of the message handler; otherwise, false
.
The default value is true
.
If the message handler triggers an exception and did not settle the message, then the message will be automatically abandoned, irrespective of AutoCompleteMessages.
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: