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.
显示文件 Open project: AArnott/IronPigeon

Public Methods

Method Description
LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Retrieves a contact with some user supplied identifier.

Method Details

LookupAsync() public abstract method

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.
return Task