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
Show file Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
ClearField ( bool value ) : string
EncodeUri ( Uri uri ) : string

Method Details

OnCreatePayload() protected method

Create the tile message payload.
protected OnCreatePayload ( ) : byte[]
return byte[]

OnInitializeRequest() protected method

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

TilePushNotificationMessage() public method

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

TilePushNotificationMessage() public method

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. ///
return System

VerifyPayloadSize() protected method

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