Edit

Share via


PublishSubscribeSession.BeginRefresh(AsyncCallback, Object) Method

Definition

Begins an asynchronous operation to refresh the underlying subscription.

public:
 virtual IAsyncResult ^ BeginRefresh(AsyncCallback ^ userCallback, System::Object ^ state);
public virtual IAsyncResult BeginRefresh (AsyncCallback userCallback, object state);
abstract member BeginRefresh : AsyncCallback * obj -> IAsyncResult
override this.BeginRefresh : AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginRefresh (userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

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 this method is invoked before the subscription is established.

Applies to