Dela via


TemplateNotification Class

Definition

Represents a template notification.

public sealed class TemplateNotification : Microsoft.Azure.NotificationHubs.Notification
type TemplateNotification = class
    inherit Notification
Public NotInheritable Class TemplateNotification
Inherits Notification
Inheritance
TemplateNotification

Constructors

TemplateNotification(IDictionary<String,String>, String)
Obsolete.

Initializes a new instance of the TemplateNotification class.

TemplateNotification(IDictionary<String,String>)

Initializes a new instance of the TemplateNotification class.

Properties

Body

Gets or sets notification body.

(Inherited from Notification)
ContentType

Gets or sets the type of the notification content.

(Inherited from Notification)
Headers

Gets or sets notification headers.

(Inherited from Notification)
PlatformType

Gets the type of the platform.

(Inherited from Notification)
Tag
Obsolete.

Gets or sets the notification tag.

(Inherited from Notification)

Methods

AddOrUpdateHeader(String, String)

Add or updates a header with a given key and value.

(Inherited from Notification)
OnValidateAndPopulateHeaders()

Validate and populates the headers.

(Inherited from Notification)

Applies to