SALES: 1-800-867-1380

NotificationHubClient Methods

The NotificationHubClient type exposes the following members.

  Name Description
Public method CreateAdmNativeRegistrationAsync(String) Asynchronously creates a native administrative registration.
Public method CreateAdmNativeRegistrationAsync(String, IEnumerable<String>) Asynchronously creates a native administrative registration.
Public method CreateAdmTemplateRegistrationAsync(String, String) Synchronously creates an administrative template registration.
Public method CreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>) Synchronously creates an administrative template registration.
Public method CreateAppleNativeRegistrationAsync(String) Asynchronously creates an Apple native registration.
Public method CreateAppleNativeRegistrationAsync(String, IEnumerable<String>) Asynchronously creates an Apple native registration.
Public method CreateAppleTemplateRegistrationAsync(String, String) Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public method CreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>) Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public method Static member CreateClientFromConnectionString(String, String) Creates a client from connection string.
Public method Static member CreateClientFromConnectionString(String, String, Boolean) Creates a client from connection string.
Public method CreateGcmNativeRegistrationAsync(String) Asynchronously creates GCM native registration.
Public method CreateGcmNativeRegistrationAsync(String, IEnumerable<String>) Asynchronously creates GCM native registration.
Public method CreateGcmTemplateRegistrationAsync(String, String) Asynchronously creates GCM template registration.
Public method CreateGcmTemplateRegistrationAsync(String, String, IEnumerable<String>) Asynchronously creates GCM template registration.
Public method CreateMpnsNativeRegistrationAsync(String) Asynchronously creates MPNS native registration.
Public method CreateMpnsNativeRegistrationAsync(String, IEnumerable<String>) Asynchronously creates MPNS native registration.
Public method CreateMpnsTemplateRegistrationAsync(String, String) Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public method CreateMpnsTemplateRegistrationAsync(String, String, IEnumerable<String>) Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public method CreateOrUpdateRegistrationAsync<T> Asynchronously creates or updates the client registration.
Public method CreateRegistrationAsync<T> Asynchronously creates a registration.
Public method CreateRegistrationIdAsync Asynchronously creates a registration identifier.
Public method CreateWindowsNativeRegistrationAsync(String) Asynchronously creates Windows native registration.
Public method CreateWindowsNativeRegistrationAsync(String, IEnumerable<String>) Asynchronously creates Windows native registration.
Public method CreateWindowsTemplateRegistrationAsync(String, String) Asynchronously creates Windows template registration.
Public method CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>) Asynchronously creates Windows template registration.
Public method DeleteRegistrationAsync(String) Asynchronously deletes the registration.
Public method DeleteRegistrationAsync(RegistrationDescription) Asynchronously deletes the registration.
Public method DeleteRegistrationAsync(String, String) Asynchronously deletes the registration.
Public method DeleteRegistrationsByChannelAsync Asynchronously deletes the registrations by channel.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllRegistrationsAsync(Int32) Asynchronously retrieves all registrations in this notification hub.
Public method GetAllRegistrationsAsync(String, Int32) Asynchronously retrieves all registrations in this notification hub.
Public method GetBaseUri Gets the value of the BaseUri attached property.
Public method GetHashCode (Inherited from Object.)
Public method GetRegistrationAsync<TRegistrationDescription> Asynchronously retrieves a registration with a given ID. The type of the registration depends upon the specified TRegistrationDescription parameter.
Public method GetRegistrationsByChannelAsync(String, Int32) Asynchronously gets the registrations by channel.
Public method GetRegistrationsByChannelAsync(String, String, Int32) Asynchronously gets the registrations by channel.
Public method GetRegistrationsByTagAsync(String, Int32) Asynchronously gets the registrations by tag.
Public method GetRegistrationsByTagAsync(String, String, Int32) Asynchronously gets the registrations by tag.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RegistrationExistsAsync Asynchronously indicates that the registration already exists.
Public method SendAdmNativeNotificationAsync(String) Asynchronously sends the administrative native notification.
Public method SendAdmNativeNotificationAsync(String, IEnumerable<String>) Asynchronously sends the administrative native notification.
Public method SendAdmNativeNotificationAsync(String, String) Asynchronously sends the administrative native notification.
Public method SendAppleNativeNotificationAsync(String) Asynchronously sends an Apple native notification. To specify an expiry, use the SendNotificationAsync(Notification) method.
Public method SendAppleNativeNotificationAsync(String, IEnumerable<String>) Asynchronously sends an Apple native notification to a non-empty set of tags (maximum 20). This is equivalent to a tagged expression with boolean ORs ("||"). To specify an expiry, use the SendNotificationAsync(Notification) method.
Public method SendAppleNativeNotificationAsync(String, String) Asynchronously sends an Apple native notification to a tag expression (a single tag "tag" is a valid tag expression). To specify an expiry, use the SendNotificationAsync(Notification) method.
Public method SendGcmNativeNotificationAsync(String) Asynchronously sends GCM native notification.
Public method SendGcmNativeNotificationAsync(String, IEnumerable<String>) Asynchronously sends a GCM native notification to a non-empty set of tags (max 20). This is equivalent to a tag expression with boolean ORs ("||").
Public method SendGcmNativeNotificationAsync(String, String) Asynchronously sends GCM native notification to a tag expression (a single tag "tag" is a valid tag expression).
Public method SendMpnsNativeNotificationAsync(String) Asynchronously sends MPNS native notification. To specify headers for MPNS, use the SendNotificationAsync(Notification) method.
Public method SendMpnsNativeNotificationAsync(String, IEnumerable<String>) Asynchronously sends MPNS native notification to a non-empty set of tags (maximum 20). This is equivalent to a tag expression with boolean ORs ("||"). To specify headers for MPNS, use the NotificationHubClient.SendNotificationAsync(Notification) method.
Public method SendMpnsNativeNotificationAsync(String, String) Asynchronously sends MPNS native notification to a tag expression (a single tag "tag" is a valid tag expression). To specify headers for MPNS, use the SendNotificationAsync(Notification) method.
Public method SendNotificationAsync(Notification) Asynchronously sends a notification to a non-empty set of tags (max 20). This is equivalent to a tag expression with boolean ORs ("||").
Public method SendNotificationAsync(Notification, IEnumerable<String>) Asynchronously sends a notification to a non-empty set of tags (max 20). This is equivalent to a tag expression with boolean ORs ("||").
Public method SendNotificationAsync(Notification, String) Asynchronously sends a notification to a tag expression (a single tag "tag" is a valid tag expression).
Public method SendTemplateNotificationAsync(IDictionary<String, String>) Asynchronously sends a template notification.
Public method SendTemplateNotificationAsync(IDictionary<String, String>, IEnumerable<String>) Asynchronously sends a template notification to a non-empty set of tags (maximum 20). This is equivalent to a tag expression with boolean ORs ("||").
Public method SendTemplateNotificationAsync(IDictionary<String, String>, String) Asynchronously sends a template notification to a tag expression (a single tag "tag" is a valid tag expression).
Public method SendWindowsNativeNotificationAsync(String) Asynchronously sends a Windows native notification. To specify headers for WNS, use the SendNotificationAsync(Notification) method.
Public method SendWindowsNativeNotificationAsync(String, IEnumerable<String>) Asynchronously sends a Windows native notification to a non-empty set of tags (max 20). This is equivalent to a tag expression with boolean ORs ("||"). To specify headers for WNS, use the NotificationHubClient.SendNotificationAsync(Notification) method.
Public method SendWindowsNativeNotificationAsync(String, String) Asynchronously sends a Windows native notification to a tag expression (a single tag "tag" is a valid tag expression). To specify headers for WNS, use the NotificationHubClient.SendNotificationAsync(Notification) method.
Public method ToString (Inherited from Object.)
Public method UpdateRegistrationAsync<T> Asynchronously updates the registration.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft