C# Class Microsoft.WindowsPhone.Samples.Notifications.RawPushNotificationMessage

Represents a raw push notification message.
If you do not wish to update the tile or send a toast notification, you can instead send raw information to your application using a raw notification. If your application is not currently running, the raw notification is discarded on the Microsoft Push Notification Service and is not delivered to the device. This class members are thread safe.
Inheritance: PushNotificationMessage
ファイルを表示 Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
RawPushNotificationMessage ( ) : System

Initializes a new instance of the RawPushNotificationMessage class. Initializes a new instance of this type with MessageSendPriority.Normal send priority.

RawPushNotificationMessage ( MessageSendPriority sendPriority ) : System

Initializes a new instance of the RawPushNotificationMessage class. Initializes a new instance of this type.

Protected Methods

Method Description
VerifyPayloadSize ( byte payload ) : void

Method Details

RawPushNotificationMessage() public method

Initializes a new instance of the RawPushNotificationMessage class. Initializes a new instance of this type with MessageSendPriority.Normal send priority.
public RawPushNotificationMessage ( ) : System
return System

RawPushNotificationMessage() public method

Initializes a new instance of the RawPushNotificationMessage class. Initializes a new instance of this type.
public RawPushNotificationMessage ( MessageSendPriority sendPriority ) : System
sendPriority MessageSendPriority /// The send priority of this message in the MPNS. ///
return System

VerifyPayloadSize() protected method

protected VerifyPayloadSize ( byte payload ) : void
payload byte
return void