Begins an async operation to send a message
delivery notification to report a message delivery is failed.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
BeginSendFailureDeliveryNotification ( _
messageId
As
InstantMessageId, _
responseCode
As
Integer, _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
C# |
public
IAsyncResult
BeginSendFailureDeliveryNotification(
InstantMessageId
messageId,
int
responseCode,
AsyncCallback
userCallback,
Object
state
)
|
Visual C++ |
public:
IAsyncResult^
BeginSendFailureDeliveryNotification(
InstantMessageId^
messageId,
int
responseCode,
AsyncCallback^
userCallback,
Object^
state
)
|
JavaScript |
function
beginSendFailureDeliveryNotification(
messageId,
responseCode,
userCallback,
state);
|
Parameters
-
messageId
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
InstantMessageId
Identifies the message.
-
responseCode
- Type:
Int32
The response code for this delivery notification.
-
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
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when flow configured for
ConsumedLocally |
See Also