Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Destroys a subscription. Note that this routine waits for any in-progress callbacks to return before completing.
Caution
Do not call the routine from its subscription's callback. Doing so will crash the program.
Syntax
HRESULT UnsubscribeActivityCoordinatorPolicy(
ACTIVITY_COORDINATOR_SUBSCRIPTION subscription
);
Parameters
subscription
Supplies a handle to the target subscription to be destroyed.
Return value
Returns an HRESULT.
Requirements
Requirement | Value |
---|---|
Header | activitycoordinator.h |