Begins an asynchronous operation to
acknowledge a subscriber.
Namespace:
Microsoft.Rtc.Collaboration.Presence
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
BeginAcknowledgeSubscriber ( _
subscriberId
As
String, _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
C# |
public
IAsyncResult
BeginAcknowledgeSubscriber(
string
subscriberId,
AsyncCallback
userCallback,
Object
state
)
|
Visual C++ |
public:
IAsyncResult^
BeginAcknowledgeSubscriber(
String^
subscriberId,
AsyncCallback^
userCallback,
Object^
state
)
|
JavaScript |
function
beginAcknowledgeSubscriber(
subscriberId,
userCallback,
state);
|
Parameters
-
subscriberId
- Type:
String
The SubscriberId to acknowledge.
-
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.
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the endpoint is not in the "registered" state. |
ArgumentException
|
Thrown when
subscriberIdis empty. |
ArgumentNullException
|
Thrown when
subscriberIdis null. |
See Also