共用方式為


NotificationHubDescription Class

Definition

Metadata description of the NotificationHub.

[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
[<System.Runtime.Serialization.DataContract(Name="NotificationHubDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type NotificationHubDescription = class
    inherit EntityDescription
Public NotInheritable Class NotificationHubDescription
Inherits EntityDescription
Inheritance
NotificationHubDescription
Attributes

Constructors

NotificationHubDescription(String)

Default Constructor

Properties

AdmCredential

Gets or sets the Adm credential credential.

ApnsCredential

Gets or sets the APNS credential.

Authorization

Gets the authorization rules.

BaiduCredential

Gets or sets the Baidu credential.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
FcmCredential

Gets or sets the FCM legacy credential.

IsAnonymousAccessible

If true, the entity can be accessed by anonymous users

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 Forbidden.

IsReadOnly

Indicate if the instance is read-only mode.

(Inherited from EntityDescription)
MpnsCredential

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

Path

Gets the full path of the notificationHub.

RegistrationTtl

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

WnsCredential

Gets or sets the WNS credential.

Methods

SetAccessPassword(String, String, IEnumerable<AccessRights>)

Sets the access password.

SetAccessPasswords(String, String, String, String)

Sets the access passwords.

ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to