PublishSubscribeSession.BeginRefresh(AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for