Share via


MpnsCredential Class

Definition

Provides credential of Microsoft Push Notification Service (MPNS).

[System.Runtime.Serialization.DataContract(Name="MpnsCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class MpnsCredential : Microsoft.Azure.NotificationHubs.PnsCredential
[<System.Runtime.Serialization.DataContract(Name="MpnsCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type MpnsCredential = class
    inherit PnsCredential
Public Class MpnsCredential
Inherits PnsCredential
Inheritance
Attributes

Constructors

MpnsCredential()

Initializes a new instance of the MpnsCredential class.

MpnsCredential(Byte[], String)

Initializes a new instance of the MpnsCredential class.

MpnsCredential(String, String)

Initializes a new instance of the MpnsCredential class.

MpnsCredential(X509Certificate, String)

Initializes a new instance of the MpnsCredential class.

Properties

BlockedOn

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

(Inherited from PnsCredential)
CertificateKey

Gets or sets the certificate key.

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.

(Inherited from PnsCredential)
MpnsCertificate

Gets or sets the MPNS certificate.

Properties

Gets or sets the properties of this credential.

(Inherited from PnsCredential)

Methods

Equals(Object)

Specifies whether the credential is the same with a specific object.

GetHashCode()

Retrieves the hash code for the credentials.

OnValidate(Boolean)

Validates the MPNS credential.

ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to