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
Visual Basic (Declaration) |
---|
Public Property MessageConsumptionMode As InstantMessageConsumptionMode |
C# |
---|
public InstantMessageConsumptionMode MessageConsumptionMode { get; set; } |
Visual C++ |
---|
public: property InstantMessageConsumptionMode MessageConsumptionMode { InstantMessageConsumptionMode get (); void set ( InstantMessageConsumptionMode value); } |
JavaScript |
---|
function get_ messageConsumptionMode(); function set_ messageConsumptionMode( value); |
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.