Sdílet prostřednictvím


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.ApnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WnsCredential))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmCredential))]
public abstract class PnsCredential : Microsoft.Azure.NotificationHubs.Messaging.EntityDescription
[<System.Runtime.Serialization.DataContract(Name="PnsCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.ApnsCredential))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmCredential))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmCredential))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsCredential))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WnsCredential))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmCredential))>]
type PnsCredential = class
    inherit EntityDescription
Public MustInherit Class PnsCredential
Inherits EntityDescription
Inheritance
PnsCredential
Derived
Attributes

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

Indicate if the instance is read-only mode.

(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()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to