PnsCredential Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Azure SDK for .NET