Edit

Share via


InstantMessagingFlow.BeginSendFailureDeliveryNotification Method

Definition

Begins an asynchronous operation to report that a message was not delivered to its final destination.

public:
 IAsyncResult ^ BeginSendFailureDeliveryNotification(Microsoft::Rtc::Collaboration::InstantMessageId ^ messageId, int responseCode, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginSendFailureDeliveryNotification (Microsoft.Rtc.Collaboration.InstantMessageId messageId, int responseCode, AsyncCallback userCallback, object state);
member this.BeginSendFailureDeliveryNotification : Microsoft.Rtc.Collaboration.InstantMessageId * int * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendFailureDeliveryNotification (messageId As InstantMessageId, responseCode As Integer, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

messageId
InstantMessageId

Identifies the message.

responseCode
Int32

The response code for this delivery notification.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when flow configured for ConsumedLocally

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.

Applies to