NotificationHubDescription Class

Definition

Represents a notification hub description.

[System.Runtime.Serialization.DataContract(Name="NotificationHubDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class NotificationHubDescription : Microsoft.Azure.NotificationHubs.Messaging.EntityDescription
type NotificationHubDescription = class
    inherit EntityDescription
    interface IResourceDescription
Public NotInheritable Class NotificationHubDescription
Inherits EntityDescription
Inheritance
System.Object
NotificationHubDescription
Attributes
System.Runtime.Serialization.DataContractAttribute

Constructors

NotificationHubDescription(String)

Initializes a new instance of the NotificationHubDescription class.

Properties

AdmCredential

Gets or sets the administrative credential.

ApnsCredential

Gets or sets the APNS credential.

Authorization

Gets the authorization rules for this description.

BaiduCredential

Gets or sets the Baidu credential.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IsAnonymousAccessible

Gets a value indicating whether the description is anonymously accessible.

IsDisabled

Gets of sets a value indicating if this notification hub is disabled. When true all runtime operations (i.e. registration management and sends) will return HTTP status code 403 System.Net.HttpStatusCode.Forbidden.

IsReadOnly

Gets or sets a value that indicates whether the entity description is read-only.

(Inherited from EntityDescription)
MpnsCredential

Gets or sets the MPNS credential. An MpnsCredential instance with no defined certificate enables MPNS unauthenticated MPNS support.

Path

Gets or sets the path of this description.

RegistrationTtl

Gets or sets the expiration time of all registrations in this notification hub.

WnsCredential

Gets or sets the WNS credential.

Methods

SetAccessPasswords(String, String, String, String)

Sets the access passwords.

ThrowIfReadOnly()

Throws an exception if the entity description is read-only.

(Inherited from EntityDescription)

Applies to