Begins an async operation to send a message delivery notification to report a message successfully received.

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

Syntax

Visual Basic (Declaration)
Public 
Function 

BeginSendSuccessDeliveryNotification ( _
	
messageId 
As 

InstantMessageId, _
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
public 
IAsyncResult 

BeginSendSuccessDeliveryNotification(
	

InstantMessageId 
messageId,
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
public:
IAsyncResult^ 

BeginSendSuccessDeliveryNotification(
	

InstantMessageId^ 
messageId, 
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
)
JavaScript
function 

beginSendSuccessDeliveryNotification(
messageId, 
userCallback, 
state);

Parameters

messageId
Type: Microsoft.Rtc.Collaboration . . :: . InstantMessageId
Identifies the message.
userCallback
Type: AsyncCallback
The method to be called when the asynchronous operation is completed.
state
Type: Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

This method should be called only by the applications that do not directly consume message but serve as proxy (like Communicator Web Access) for delivering the received message to a remote entity.

Exceptions

Exception Condition
InvalidOperationException Thrown when flowSetting is configured for ConsumedLocally

See Also