Compartilhar via


IRTCClientPresence2::SetPresenceData (Windows CE 5.0)

Send Feedback

This method sets application-specific data to be included in the presence document.

HRESULT SetPresenceData(BSTRbstrNamespace,BSTRbstrData);

Parameters

  • bstrNamespace
    [in] A unique name for the presence property data.

    Typically, this parameter contains the XML namespace if the format of the presence data set is an XML document.

  • bstrData
    [in] Application-specific information to include in the presence document.

Return Values

This method can return an RTC_E_ constant.

The following table shows additional possible return values.

Value Meaning
E_INVALIDARG The size of the bstrData parameter is too large.

This parameter is limited to 65,535 characters.

E_OUTOFMEMORY Insufficient memory to perform this operation.

Remarks

The presence data is not set in the presence document when the registrar server specifies the UDP transport.

Multiple points of presence (MPOP) and roaming are not supported.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClientPresence2 | IRTCClientPresence2::GetPresenceData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.