PersistentChatEndpoint.BeginTerminate(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.
Terminate an established connection with the Persistent Chat server, and clean up all resources associated with the connection. This request will be processed asynchronously. See EndTerminate(IAsyncResult) to complete this asynchronous operation.
public:
IAsyncResult ^ BeginTerminate(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginTerminate (AsyncCallback userCallback, object state);
member this.BeginTerminate : AsyncCallback * obj -> IAsyncResult
Public Function BeginTerminate (userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- userCallback
- AsyncCallback
The method to be invoked when this asynchronous operation completes.
- state
- Object
An object to be passed back to the callback.
Returns
An IAsyncResult that references this operation.
Exceptions
The endpoint is not in a valid state.
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