OnMessageOptions Class
TOC
Collapse the table of content
Expand the table of content

OnMessageOptions Class

 

Provides options associated with message pump processing using OnMessage and OnMessage.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

System.Object
  Microsoft.ServiceBus.Messaging.OnMessageOptions

public sealed class OnMessageOptions

NameDescription
System_CAPS_pubmethodOnMessageOptions()

Initializes a new instance of the OnMessageOptions class.

NameDescription
System_CAPS_pubpropertyAutoComplete

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

System_CAPS_pubpropertyAutoRenewTimeout

Gets or sets 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.

System_CAPS_pubpropertyMaxConcurrentCalls

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventExceptionReceived

Occurs when an exception is received. Enables you to be notified of any errors encountered by the message pump.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft