ContactCardDelayedDataLoader class

Applies to Windows and Windows Phone

Represents a delayed data loader for a contact card.

Syntax


public sealed class ContactCardDelayedDataLoader : IDisposable

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The ContactCardDelayedDataLoader class has these types of members:

Methods

The ContactCardDelayedDataLoader class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Close [C++, JavaScript]Closes the delayed data loader. This informs the contact card to complete the UI (for example, remove any progress indications, like the progress bar) because no more updates to the contact card UI will be requested. The user then can determine that the contact data shown in the UI is complete.
Dispose [C#, VB]Closes the delayed data loader. This informs the contact card to complete the UI (for example, remove any progress indications, like the progress bar) because no more updates to the contact card UI will be requested. The user then can determine that the contact data shown in the UI is complete.
SetData Updates the contact card with the Contact object and completes the contact card UI.

 

Remarks

Call ContactManager.ShowContactCardWithDelayedDataLoader to create a contact card with delayed data loader.

For info about how to manage contacts, see Managing contact cards (XAML) and Managing contact cards (HTML).

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Contacts
Windows::ApplicationModel::Contacts [C++]

Metadata

Windows.winmd

See also

Contact manager API sample
Object
IClosable
ShowContactCardWithDelayedDataLoader

 

 

Show:
© 2014 Microsoft