ServiceBusSessionProcessor.AutoCompleteMessages Property


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


true to complete the message processing automatically on successful execution of the operation; otherwise, false.

Applies to