Edit

Share via


LocalOwnerPresence.BeginAcknowledgeSubscriber Method

Definition

Begins an asynchronous operation to acknowledge a subscriber.

public:
 IAsyncResult ^ BeginAcknowledgeSubscriber(System::String ^ subscriberId, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginAcknowledgeSubscriber (string subscriberId, AsyncCallback userCallback, object state);
member this.BeginAcknowledgeSubscriber : string * AsyncCallback * obj -> IAsyncResult
Public Function BeginAcknowledgeSubscriber (subscriberId As String, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

subscriberId
String

The subscriber to acknowledge.

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 the endpoint is not in the "registered" state.

Thrown when subscriberId is empty.

Thrown when subscriberId is null.

Applies to