C# 클래스 PhotoSharingApp.Universal.Services.NotificationRegistrationClient

Register/update/delete notification registration for the client.
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing 1 사용 예제들

공개 메소드들

메소드 설명
DeleteRegistrationAsync ( ) : Task

Delete the registration for locally stored registration.

NotificationRegistrationClient ( ) : System

Notification registration client constructor.

RegisterAsync ( string handle, IEnumerable tags ) : System.Threading.Tasks.Task

Registers the a notification hub handle with specified notification tags.

비공개 메소드들

메소드 설명
RetrieveRegistrationIdOrRequestNewOneAsync ( string handle ) : Task

Retrieves or create a registration id and then stores it in local setting for easy access.

UpdateRegistrationAsync ( string registrationId, DeviceRegistrationContract deviceRegistrationContract ) : Task

Updates the existing registration with the new device registration contract with tags.

메소드 상세

DeleteRegistrationAsync() 공개 메소드

Delete the registration for locally stored registration.
public DeleteRegistrationAsync ( ) : Task
리턴 Task

NotificationRegistrationClient() 공개 메소드

Notification registration client constructor.
public NotificationRegistrationClient ( ) : System
리턴 System

RegisterAsync() 공개 메소드

Registers the a notification hub handle with specified notification tags.
public RegisterAsync ( string handle, IEnumerable tags ) : System.Threading.Tasks.Task
handle string The notification handle to register with..
tags IEnumerable The tags to register.
리턴 System.Threading.Tasks.Task