MessageConsumptionMode Property

Gets the value that indicates the consumption mode of the application.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property MessageConsumptionMode As InstantMessageConsumptionMode
    Get
    Set
'Usage
Dim instance As InstantMessagingFlowTemplate
Dim value As InstantMessageConsumptionMode

value = instance.MessageConsumptionMode

instance.MessageConsumptionMode = value
public InstantMessageConsumptionMode MessageConsumptionMode { get; set; }

Property Value

Type: Microsoft.Rtc.Collaboration..::..InstantMessageConsumptionMode

Remarks

Represents the setting for an application to indicate how it intends to handle instant messages. The incoming messages are handled accordingly. If the application consumes messages locally, incoming messages are automatically acknowledged with 200 response code. If the application proxies the messages, the incoming messages are automatically acknowledged with 202 (if the remote supports message delivery notificiations) or the response is delayed. The application is responsible for sending delivery notification later for every message received. By default, the value is InstantMessageConsumptionMode.ConsumedLocally.

See Also

Reference

InstantMessagingFlowTemplate Class

InstantMessagingFlowTemplate Members

Microsoft.Rtc.Collaboration Namespace