Partager via


IRTCSubscription::Resubscribe (Windows Embedded CE 6.0)

1/6/2010

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