InstantMessagingFlowTemplate.MessageConsumptionMode Property
Gets or sets the value indicating 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 according to the following conditions: If the application consumes messages locally, incoming messages are automatically acknowledged with a 200 response code. If the application proxies the messages, the incoming messages are automatically acknowledged with a 202 response code (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