C# Class Microsoft.WindowsAzure.MobileServices.Push

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

Private Properties

Property Type Description
Push System

Public Methods

Method 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

Method Description
Push ( IMobileServiceClient client ) : System

Method Details

RegisterAsync() public method

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

RegisterAsync() public method

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
return System.Threading.Tasks.Task

UnregisterAsync() public method

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