C# Class IronPigeon.AddressBook

Retrieves contacts from some public store.
This class does not describe a method for publishing to an address book because each address book may have different authentication requirements. Derived types are expected to be thread-safe.
Afficher le fichier Open project: AArnott/IronPigeon

Méthodes publiques

Méthode Description
LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Retrieves a contact with some user supplied identifier.

Method Details

LookupAsync() public abstract méthode

Retrieves a contact with some user supplied identifier.
Thrown when a validation error occurs while reading the address book entry.
public abstract LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task
identifier string The user-supplied identifier for the contact.
cancellationToken System.Threading.CancellationToken A cancellation token.
Résultat Task