PushClient Class

 

The PushClient provides a mechanism for sending notifications to mobile applications through a Notification Hub.

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

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Notifications.PushClient

type PushClient = class end

NameDescription
System_CAPS_pubmethodPushClient(ApiServices)

Initializes a new instance of the PushClient with a given ApiServices instance.

NameDescription
System_CAPS_pubpropertyEnableTestSend

When test send is enabled, all notifications only reach up to 10 devices for each send call and the SendNotificationAsync method return a detailed list of the outcomes for all those notification deliveries (for example, authentication errors, throttling errors, and so on).

System_CAPS_pubpropertyHubClient

Gets or sets the NotificationHubClient to use for sending notifications.

NameDescription
System_CAPS_protmethodCreateNotification(IPushMessage)

Creates a Notification from a IPushMessage.

System_CAPS_protmethodCreateNotificationHubClient(String, String, Boolean)

Creates a NotificationHubClient in a mockable manner.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSendAsync(IPushMessage)

Sends a notification to the Notification Hub.

System_CAPS_pubmethodSendAsync(IPushMessage, IEnumerable<String>)

Sends a notification to the Notification Hub with a given tag expression.

System_CAPS_pubmethodSendAsync(IPushMessage, String)

Sends a notification to the Notification Hub with a given tag expression.

System_CAPS_protmethodSendNotificationAsync(Notification, IEnumerable<String>)

Makes NotificationHubClient send operation mockable.

System_CAPS_protmethodSendNotificationAsync(Notification, String)

Makes NotificationHubClient send operation mockable.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: