您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

OnMessageOptions OnMessageOptions OnMessageOptions Class

Definition

ions associated with message pump processing using OnMessage(Action<BrokeredMessage>) and OnMessage(Action<BrokeredMessage>).

public sealed class OnMessageOptions
type OnMessageOptions = class
Public NotInheritable Class OnMessageOptions
Inheritance
OnMessageOptionsOnMessageOptionsOnMessageOptions

Constructors

OnMessageOptions() OnMessageOptions() OnMessageOptions()

Initializes a new instance of the OnMessageOptions class.

Properties

AutoComplete AutoComplete AutoComplete

a value that indicates whether the message-pump should call Complete(Guid) or Complete(Guid) on messages after the callback has completed processing.

AutoRenewTimeout AutoRenewTimeout AutoRenewTimeout

the maximum duration within which the lock will be renewed automatically. This value should be greater than the longest message lock duration; for example, the LockDuration Property.

MaxConcurrentCalls MaxConcurrentCalls MaxConcurrentCalls

Gets or sets the maximum number of concurrent calls to the callback the message pump should initiate.

Events

ExceptionReceived ExceptionReceived ExceptionReceived

an exception is received. Enables you to be notified of any errors encountered by the message pump. When errors are received calls will automatically be retried, so this is informational.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to