Share via


TileBinding Class

 

This class represents the binding element of a Windows Notification tile, see https://msdn.microsoft.com/library/windows/apps/hh761491.aspx for details. This class is intended for use as part of the WindowsPushMessage class.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Mobile.Service.TileBinding

Syntax

public class TileBinding
public ref class TileBinding 
type TileBinding = class end
Public Class TileBinding

Constructors

Name Description
System_CAPS_pubmethod TileBinding()

Initializes a new instance of the TileBinding class.

System_CAPS_pubmethod TileBinding(IEnumerable<TileImage>, IEnumerable<TileText>)

Initializes a new instance of the TileBinding class.

System_CAPS_pubmethod TileBinding(TileImage[])

Initializes a new instance of the TileBinding class.

System_CAPS_pubmethod TileBinding(TileText[])

Initializes a new instance of the TileBinding class.

Properties

Name Description
System_CAPS_pubproperty AddImageQuery

Set to true to allow Windows to append a query string to the image URI supplied in the tile notification. Use this attribute if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language; for instance, a value of www.website.com/images/hello.png included in the notification becomes www.website.com/images/hello.png?ms-scale=100&ms-contrast=standard&ms-lang=en-us.

System_CAPS_pubproperty BaseUri

A default base URI that is combined with relative URIs in image source attributes.

System_CAPS_pubproperty Branding

The form that the tile should use to display the app's brand.

System_CAPS_pubproperty ContentId

Set to a sender-defined string that uniquely identifies the content of the notification. This prevents duplicates in the situation where a large tile template is displaying the last three wide tile notifications.

System_CAPS_pubproperty Fallback

A template to use if the primary template name is not recognized by the recipient, for use with Windows 8 compatibility. This value is the Windows 8 name of the value in the template attribute. New templates introduced after Windows 8 do not have a fallback.

System_CAPS_pubproperty Images

Set of TileImage elements

System_CAPS_pubproperty Lang

The target locale of the XML payload, specified as a BCP-47 language tags such as en-US or fr-FR. The locale specified here overrides any other specified locale, such as that in binding or visual. If this value is a literal string, this attribute defaults to the user's UI language. If this value is a string reference, this attribute defaults to the locale chosen by Windows Runtime in resolving the string.

System_CAPS_pubproperty Template

One of the provided templates on which to base the tile. Typically, a developer should supply both a square and a wide format, each as a separate binding element. Valid entries are members of the tileTemplateType enumeration.

System_CAPS_pubproperty Texts

Set of TileText elements

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top