Share via


ContactReader Klasse

Definition

Wird verwendet, um Contact-Objekte in Batches aus dem ContactStore zu lesen, die sich lokal oder remote befinden.

public ref class ContactReader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContactReader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContactReader
Public NotInheritable Class ContactReader
Vererbung
Object Platform::Object IInspectable ContactReader
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
contactsSystem

Hinweise

Verwenden Sie GetContactReader oder GetContactReader(ContactQueryOptions), um eine instance dieser Klasse abzurufen.

Methoden

GetMatchingPropertiesWithMatchReason(Contact)

Ruft den Grund ab, warum ein Kontakt mit der Suchabfrage übereinstimmt. Gibt die übereinstimmenden Eigenschaften und Teilzeichenfolgen zurück.

ReadBatchAsync()

Liest asynchron einen Batch von Contact-Objekten aus dem ContactStore.

Gilt für: