GetChangesAsync method

ContactStore.GetChangesAsync method

Gets the list of changes to the contact store associated with the provided revision number.

Syntax


public:
IAsyncOperation<IVectorView<ContactChangeRecord>>^ GetChangesAsync(
  unsigned long long baseREvisionNumber
)

Parameters

baseREvisionNumber

Type: System.UInt64 [.NET] | uint64 [C++]

The revision number for which changes should be retrieved.

Return value

Type: IAsyncOperation<IVectorView<ContactChangeRecord>>

When this method completes, it returns a VectorView containing a ContactChangeRecord object for each change associated with the revision number. If you use Asynchronous programming, the result type is a read-only list/vector of ContactChangeRecord items. (You can use APIs of IVectorView<ContactChangeRecord> for C++, APIs of IReadOnlyList<ContactChangeRecord> for .NET.)

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactStore
ContactChangeRecord
Asynchronous programming

 

 

Show:
© 2016 Microsoft