C# Класс PhotoSharingApp.Universal.Services.NotificationRegistrationClient

Register/update/delete notification registration for the client.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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