Compartilhar via


IRTCPresenceContact::Persistent (Windows CE 5.0)

Send Feedback

This method sets or gets a value indicating if the presence contact is persistent.

HRESULT put_Persistent( VARIANT_BOOLfPersistent );HRESULT get_Persistent(VARIANT_BOOL*pfPersistent);

Parameters

  • fPersistent, pfPersistent
    [in, out] VARIANT_TRUE if the contact is persistent, which means that presence information for the contact is available. VARIANT_FALSE if the contact is not persistent.

Return Values

This method can return an RTC_E_ constant. The following table shows an additional possible return value.

Value Description
E_FAIL There is no persistence type for this contact.

Remarks

Buddies and watchers are saved to persistent storage when presence is enabled with storage. The IRTCClientPresence::Export and IRTCClientPresence::Import methods will also save the contacts to a file that is not part of the persistent storage. For more information, see IRTCClientPresence::EnablePresence.

Requirements

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

See Also

IRTCPresenceContact | IRTCClientPresence::EnablePresence | IRTCClientPresence::Export | IRTCClientPresence::Import

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.