Share via


IRTCSubscription::Resubscribe

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method re-subscribes to the service - with potentially a new message body. If the subscription is still active, this method first un-subscribes from the existing subscription.

Syntax

HRESULT Resubscribe(
  BSTR bstrContentType,
  BSTR bstrBody
);

Parameters

  • bstrContentType
    [in] Contents of the “Content-Type” header that is sent to the proxy server. This may be NULL.
  • bstrBody
    [in] Contents of the body that is sent to the proxy server. This may be NULL.

Return Value

RTC methods may return an RTC_E_ constants.

Requirements

Header rtccore.idl
Library uuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

IRTCSubscription