Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

NotificationHubClient Class

Represents a notification hub client.

System.Object
  Microsoft.ServiceBus.Notifications.NotificationHubClient

Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public class NotificationHubClient

The NotificationHubClient type exposes the following members.

  NameDescription
Public propertyEnableTestSendGets or sets a value indicating whether the client enables a test send.
Top

  NameDescription
Public methodCancelNotificationAsync
Public methodCreateAdmNativeRegistrationAsync(String)Asynchronously creates a native administrative registration.
Public methodCreateAdmNativeRegistrationAsync(String, IEnumerable<String>)Asynchronously creates a native administrative registration.
Public methodCreateAdmTemplateRegistrationAsync(String, String)Asynchronously creates an administrative template registration.
Public methodCreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>)Asynchronously creates an administrative template registration.
Public methodCreateAppleNativeRegistrationAsync(String)Asynchronously creates an Apple native registration.
Public methodCreateAppleNativeRegistrationAsync(String, IEnumerable<String>)Asynchronously creates an Apple native registration.
Public methodCreateAppleTemplateRegistrationAsync(String, String)Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public methodCreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>)Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public methodStatic memberCreateClientFromConnectionString(String, String)Creates a client from connection string.
Public methodStatic memberCreateClientFromConnectionString(String, String, Boolean)Creates a client from connection string.
Public methodCreateGcmNativeRegistrationAsync(String)Asynchronously creates GCM native registration.
Public methodCreateGcmNativeRegistrationAsync(String, IEnumerable<String>)Asynchronously creates GCM native registration.
Public methodCreateGcmTemplateRegistrationAsync(String, String)Asynchronously creates GCM template registration.
Public methodCreateGcmTemplateRegistrationAsync(String, String, IEnumerable<String>)Asynchronously creates GCM template registration.
Public methodCreateMpnsNativeRegistrationAsync(String)Asynchronously creates MPNS native registration.
Public methodCreateMpnsNativeRegistrationAsync(String, IEnumerable<String>)Asynchronously creates MPNS native registration.
Public methodCreateMpnsTemplateRegistrationAsync(String, String)Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public methodCreateMpnsTemplateRegistrationAsync(String, String, IEnumerable<String>)Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.
Public methodCreateOrUpdateRegistrationAsync<T>Asynchronously creates or updates the client registration.
Public methodCreateRegistrationAsync<T>Asynchronously creates a registration.
Public methodCreateRegistrationIdAsyncAsynchronously creates a registration identifier.
Public methodCreateWindowsNativeRegistrationAsync(String)Asynchronously creates Windows native registration.
Public methodCreateWindowsNativeRegistrationAsync(String, IEnumerable<String>)Asynchronously creates Windows native registration.
Public methodCreateWindowsTemplateRegistrationAsync(String, String)Asynchronously creates Windows template registration.
Public methodCreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)Asynchronously creates Windows template registration.
Public methodDeleteRegistrationAsync(String)Asynchronously deletes the registration.
Public methodDeleteRegistrationAsync(RegistrationDescription)Asynchronously deletes the registration.
Public methodDeleteRegistrationAsync(String, String)Asynchronously deletes the registration.
Public methodDeleteRegistrationsByChannelAsyncAsynchronously deletes the registrations by channel.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetAllRegistrationsAsync(Int32)Asynchronously retrieves all registrations in this notification hub.
Public methodGetAllRegistrationsAsync(String, Int32)Asynchronously retrieves all registrations in this notification hub.
Public methodGetBaseUriGets the value of the BaseUri attached property.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNotificationHubJobAsync
Public methodGetNotificationHubJobsAsync
Public methodGetRegistrationAsync<TRegistrationDescription>Asynchronously retrieves a registration with a given ID. The type of the registration depends upon the specified TRegistrationDescription parameter.
Public methodGetRegistrationsByChannelAsync(String, Int32)Asynchronously gets the registrations by channel.
Public methodGetRegistrationsByChannelAsync(String, String, Int32)Asynchronously gets the registrations by channel.
Public methodGetRegistrationsByTagAsync(String, Int32)Asynchronously gets the registrations by tag.
Public methodGetRegistrationsByTagAsync(String, String, Int32)Asynchronously gets the registrations by tag.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRegistrationExistsAsyncAsynchronously indicates that the registration already exists.
Public methodScheduleNotificationAsync(Notification, DateTimeOffset)
Public methodScheduleNotificationAsync(Notification, DateTimeOffset, IEnumerable<String>)
Public methodScheduleNotificationAsync(Notification, DateTimeOffset, String)
Public methodSendAdmNativeNotificationAsync(String)Asynchronously sends the administrative native notification.
Public methodSendAdmNativeNotificationAsync(String, IEnumerable<String>)Asynchronously sends the administrative native notification.
Public methodSendAdmNativeNotificationAsync(String, String)Asynchronously sends the administrative native notification.
Public methodSendAppleNativeNotificationAsync(String)Asynchronously sends an Apple native notification. To specify an expiry, use the SendNotificationAsync(Notification) method.
Public methodSendAppleNativeNotificationAsync(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 methodSendAppleNativeNotificationAsync(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 methodSendGcmNativeNotificationAsync(String)Asynchronously sends GCM native notification.
Public methodSendGcmNativeNotificationAsync(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 methodSendGcmNativeNotificationAsync(String, String)Asynchronously sends GCM native notification to a tag expression (a single tag "tag" is a valid tag expression).
Public methodSendMpnsNativeNotificationAsync(String)Asynchronously sends MPNS native notification. To specify headers for MPNS, use the SendNotificationAsync(Notification) method.
Public methodSendMpnsNativeNotificationAsync(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 methodSendMpnsNativeNotificationAsync(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 methodSendNotificationAsync(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 methodSendNotificationAsync(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 methodSendNotificationAsync(Notification, String)Asynchronously sends a notification to a tag expression (a single tag "tag" is a valid tag expression).
Public methodSendTemplateNotificationAsync(IDictionary<String, String>)Asynchronously sends a template notification.
Public methodSendTemplateNotificationAsync(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 methodSendTemplateNotificationAsync(IDictionary<String, String>, String)Asynchronously sends a template notification to a tag expression (a single tag "tag" is a valid tag expression).
Public methodSendWindowsNativeNotificationAsync(String)Asynchronously sends a Windows native notification. To specify headers for WNS, use the SendNotificationAsync(Notification) method.
Public methodSendWindowsNativeNotificationAsync(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 methodSendWindowsNativeNotificationAsync(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 methodSubmitNotificationHubJobAsync
Public methodToString (Inherited from Object.)
Public methodUpdateRegistrationAsync<T>Asynchronously updates the registration.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Topluluk İçeriği

Ekle
Show:
© 2014 Microsoft