Share via


TileImage Class

 

This class represents the image 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.TileImage

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod TileImage()

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 Alt

A description of the image, for users of assistive technologies.

System_CAPS_pubproperty Id

The image element in the tile template that this image is intended for. If a template has only one image, then this value is 1. The number of available image positions is based on the template definition.

System_CAPS_pubproperty Src

The URI of the image source, one of these protocol handlers: http:// or https:// means a web-based image, ms-appx:/// means an image included in the app package, ms-appdata:///local/ means an image saved to local storage, and file:/// means a local image. (Supported only for desktop apps. This protocol cannot be used by Windows Store apps.)

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