Partager via


IPublishSubscribeMgr::Unsubscribe (Windows CE 5.0)

Send Feedback

This method terminates a subscriber's connection to a publisher.

HRESULT Unsubscribe(GUID cookieID);

Parameters

Return Values

The following table shows the return values for this method.

Value Description
S_OK The call was successfully completed.
E_INVALIDARG The cookieID parameter is invalid.
E_FAIL Unable to complete the call.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: CEPubSub.h (for development workstation), CEPubSubPS.h (for target device), CePubSub.idl.
Link Library: Rts.lib (for development workstation), PSPubSubCE.lib (for target device)

See Also

IPublishSubscribeMgr::Subscribe

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.