Skip to end of metadata
Go to start of metadata

Represents the toast binding configuration.

Definition

public class ToastBinding

Summary

The following table summarizes the members exposed in this class.

Public Constructors

ToastBinding Constructor() Initializes a new instance of the ToastBinding class.

Public Properties

AddImageQuery Gets or sets the add image query.
BaseUri Gets or sets the base URI.
Branding Gets or sets the branding.
Fallback Gets or sets the fallback action.
Images Gets or sets the images.
Language Gets or sets the language.
Texts Gets or sets the texts.
ToastTemplate Gets or sets the toast template.

Public Methods

GenerateXmlElement() Generates the XML element.

Protected Methods

XmlEncode(string) Return the encoded xml.

Public Constructors

public ToastBinding()

Initializes a new instance of the ToastBinding class.

Public Properties

public Nullable<bool> AddImageQuery { get; set; }

Gets or sets the add image query.

public string BaseUri { get; set; }

Gets or sets the base URI.

public Nullable<BrandingType> Branding { get; set; }

Gets or sets the branding.

public string Fallback { get; set; }

Gets or sets the fallback action.

public List<ToastImage> Images { get; set; }

Gets or sets the images.

public string Language { get; set; }

Gets or sets the language.

public List<ToastText> Texts { get; set; }

Gets or sets the texts.

public ToastNotificationTemplate ToastTemplate { get; set; }

Gets or sets the toast template.

Public Methods

public XElement GenerateXmlElement()

Generates the XML element.

Protected Methods

protected string XmlEncode(string text)

Return the encoded xml.

Parameters

text The text.
  • No labels