共用方式為


ApnsCredential Class

Definition

Represents an Apple Push Notification Service (APNS) credential.

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

Constructors

ApnsCredential()

Initializes a new instance of the ApnsCredential class.

ApnsCredential(Byte[], String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential(String, String, String, String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential(String, String)

Initializes a new instance of the ApnsCredential class.

Properties

ApnsCertificate

Gets or sets the APNS certificate.

AppId

Gets or sets the AppId.

AppName

Gets or sets the AppName.

BlockedOn

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

(Inherited from PnsCredential)
CertificateKey

Gets or sets the certificate key.

Endpoint

Gets or sets the endpoint.

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

Gets or sets the KeyId.

Properties

Gets or sets the properties of this credential.

(Inherited from PnsCredential)
Thumbprint

Gets or sets the Thumbprint.

Token

Gets or sets the Token.

Methods

Equals(Object)

Specifies whether the credential is the same as the specific object.

GetHashCode()

Retrieves the hash code for the credentials.

OnValidate(Boolean)

Validates the APNS credential.

ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to