INotificationHandler Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface INotificationHandler
type INotificationHandler = interface
Public Interface INotificationHandler
Methods
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 |
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. |
Applies to
Azure SDK for .NET