C# Class Microsoft.WindowsAzure.MobileServices.Push

Define a class help to create/update/delete notification registrations
Afficher le fichier Open project: Azure/azure-mobile-apps-net-client Class Usage Examples

Private Properties

Свойство Type Description
Push System

Méthodes publiques

Méthode Description
RegisterAsync ( string registrationId ) : System.Threading.Tasks.Task

Register an Installation with particular registrationId

RegisterAsync ( string registrationId, JObject templates ) : System.Threading.Tasks.Task

Register an Installation with particular registrationId and templates

UnregisterAsync ( ) : System.Threading.Tasks.Task

Unregister any installations for a particular app

Private Methods

Méthode Description
Push ( IMobileServiceClient client ) : System

Method Details

RegisterAsync() public méthode

Register an Installation with particular registrationId
public RegisterAsync ( string registrationId ) : System.Threading.Tasks.Task
registrationId string The registrationId to register
Résultat System.Threading.Tasks.Task

RegisterAsync() public méthode

Register an Installation with particular registrationId and templates
public RegisterAsync ( string registrationId, JObject templates ) : System.Threading.Tasks.Task
registrationId string The registrationId to register
templates JObject JSON with one more templates to register
Résultat System.Threading.Tasks.Task

UnregisterAsync() public méthode

Unregister any installations for a particular app
public UnregisterAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task