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

Represents a tile push notification message.
Every phone application has one assigned 'tile' – a visual, dynamic representation of the application or its content. A tile displays in the Start screen if the end user has pinned it. This class members are thread safe.
Inheritance: PushNotificationMessage
Afficher le fichier Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets Class Usage Examples

Méthodes publiques

Méthode Description
TilePushNotificationMessage ( ) : System

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

TilePushNotificationMessage ( MessageSendPriority sendPriority ) : System

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

Méthodes protégées

Méthode Description
OnCreatePayload ( ) : byte[]

Create the tile message payload.

OnInitializeRequest ( System request ) : void

Initialize the request with tile specific headers.

VerifyPayloadSize ( byte payload ) : void

Private Methods

Méthode Description
ClearField ( bool value ) : string
EncodeUri ( Uri uri ) : string

Method Details

OnCreatePayload() protected méthode

Create the tile message payload.
protected OnCreatePayload ( ) : byte[]
Résultat byte[]

OnInitializeRequest() protected méthode

Initialize the request with tile specific headers.
protected OnInitializeRequest ( System request ) : void
request System The message request.
Résultat void

TilePushNotificationMessage() public méthode

Initializes a new instance of the TilePushNotificationMessage class. Initializes a new instance of this type with MessageSendPriority.Normal send priority.
public TilePushNotificationMessage ( ) : System
Résultat System

TilePushNotificationMessage() public méthode

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

VerifyPayloadSize() protected méthode

protected VerifyPayloadSize ( byte payload ) : void
payload byte
Résultat void