Delen via


Notification Class

Definition

Abstract class representing a generic notification hub notification, including the target tag.

public abstract class Notification
type Notification = class
Public MustInherit Class Notification
Inheritance
Notification
Derived

Constructors

Notification(IDictionary<String,String>, String, String)

Initializes a new instance of the Notification class.

Properties

Body

Gets or sets notification body.

ContentType

Gets or sets the type of the notification content.

Headers

Gets or sets notification headers.

PlatformType

Gets the type of the platform.

Tag
Obsolete.

Gets or sets the notification tag.

Methods

AddOrUpdateHeader(String, String)

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

OnValidateAndPopulateHeaders()

Validate and populates the headers.

Applies to