PnsCredential Class

Definition

Represents a PNS credential.

[System.Runtime.Serialization.DataContract(Name="PnsCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.SmtpCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.NokiaXCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.ApnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmCredential))]
public abstract class PnsCredential : Microsoft.Azure.NotificationHubs.Messaging.EntityDescription
type PnsCredential = class
    inherit EntityDescription
Public MustInherit Class PnsCredential
Inherits EntityDescription
Inheritance
System.Object
PnsCredential
Derived
Attributes
System.Runtime.Serialization.DataContractAttribute System.Runtime.Serialization.KnownTypeAttribute

Properties

BlockedOn

Gets or sets the time and date this credential is blocked on.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IsReadOnly

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

(Inherited from EntityDescription)
Item[String]

Gets or sets the value associated with this credential.

Properties

Gets or sets the properties of this credential.

Methods

IsEqual(PnsCredential, PnsCredential)

Specifies whether the two credentials are equal.

OnValidate(Boolean)

Validates the credential.

ThrowIfReadOnly()

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

(Inherited from EntityDescription)

Applies to