SALES: 1-800-867-1380

Notification Class

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

Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public abstract class Notification

The Notification type exposes the following members.

Protected methodNotificationInitializes a new instance of the Notification class.

Public propertyBodyGets or sets the body of the notification.
Public propertyContentTypeGets or sets the content type of the notification.
Public propertyHeadersGets or sets a list of headers associated with the notification.
Protected propertyPlatformTypeGets the platform type of the notification.
Public propertyTag Obsolete. Gets or sets the notification tag.

Protected methodAddOrUpdateHeaderAdd or updates a header with a given key and value.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnValidateAndPopulateHeadersValidate and populates the headers.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft