C# 클래스 IronPigeon.OnlineAddressBook

Retrieves contacts from some online 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.
상속: AddressBook
파일 보기 프로젝트 열기: AArnott/IronPigeon

보호된 메소드들

메소드 설명
DownloadAddressBookEntryAsync ( Uri entryLocation, CancellationToken cancellationToken ) : Task

Downloads an address book entry from the specified URL. No signature validation is performed.

DownloadEndpointAsync ( Uri entryLocation, CancellationToken cancellationToken ) : Task

Downloads the endpoint described by the address book entry found at the given URL and verifies the signature.

OnlineAddressBook ( ) : System

Initializes a new instance of the OnlineAddressBook class.

OnlineAddressBook ( HttpClient httpClient ) : System

Initializes a new instance of the OnlineAddressBook class.

메소드 상세

DownloadAddressBookEntryAsync() 보호된 메소드

Downloads an address book entry from the specified URL. No signature validation is performed.
Thrown when deserialization of the downloaded address book entry fails.
protected DownloadAddressBookEntryAsync ( Uri entryLocation, CancellationToken cancellationToken ) : Task
entryLocation System.Uri The location to download from.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

DownloadEndpointAsync() 보호된 메소드

Downloads the endpoint described by the address book entry found at the given URL and verifies the signature.
Thrown when deserialization or signature verification of the address book entry fails.
protected DownloadEndpointAsync ( Uri entryLocation, CancellationToken cancellationToken ) : Task
entryLocation System.Uri The entry location.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

OnlineAddressBook() 보호된 메소드

Initializes a new instance of the OnlineAddressBook class.
protected OnlineAddressBook ( ) : System
리턴 System

OnlineAddressBook() 보호된 메소드

Initializes a new instance of the OnlineAddressBook class.
protected OnlineAddressBook ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient The HTTP client.
리턴 System