Share via


INotificationHandler Interface

 

Provides an abstraction for hooking in custom code to the notification hub registration process. All public, non-abstract implementations of this interface will get picked up automatically by the default INotificationHandlerTypeResolver implementation and registered with the dependency engine, causing then to get called as part of the registration process.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Notifications
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

public interface INotificationHandler
public interface class INotificationHandler
type INotificationHandler = interface end
Public Interface INotificationHandler

Methods

Name Description
System_CAPS_pubmethod Register(ApiServices, HttpRequestContext, NotificationRegistration)

This method is called when a client is registering to receive notifications. It is called just before the request is submitted to the Notification Hub and so the implementation of this method can modify the registration before it is submitted.

System_CAPS_pubmethod Unregister(ApiServices, HttpRequestContext, String)

This method is called when a client is unregistering to no longer receive notifications. It is called just before the request is submitted to the Notification Hub.

See Also

Microsoft.WindowsAzure.Mobile.Service.Notifications Namespace

Return to top