你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApnsCredential 类

定义

表示 Apple 推送通知服务 (APNS) 凭据。

[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
继承
属性

构造函数

ApnsCredential()

初始化 ApnsCredential 类的新实例。

ApnsCredential(Byte[], String)

初始化 ApnsCredential 类的新实例。

ApnsCredential(String, String)

初始化 ApnsCredential 类的新实例。

ApnsCredential(String, String, String, String)

初始化 ApnsCredential 类的新实例。

属性

ApnsCertificate

获取或设置 APNS 证书。

AppId

获取或设置 AppId。

AppName

获取或设置 AppName。

BlockedOn

获取或设置阻止此凭据的时间和日期。

(继承自 PnsCredential)
CertificateKey

获取或设置证书密钥。

Endpoint

获取或设置终结点。

ExtensionData

获取或设置包含额外数据的结构。

(继承自 EntityDescription)
IsReadOnly

指示实例是否为只读模式。

(继承自 EntityDescription)
Item[String]

获取或设置与此凭据关联的值。

(继承自 PnsCredential)
KeyId

获取或设置 KeyId。

Properties

获取或设置此凭据的属性。

(继承自 PnsCredential)
Thumbprint

获取或设置指纹。

Token

获取或设置令牌。

方法

Equals(Object)

指定凭据是否与特定对象相同。

GetHashCode()

检索凭据的哈希代码。

OnValidate(Boolean)

验证 APNS 凭据。

ThrowIfReadOnly()

如果设置了只读 bool,则引发。

(继承自 EntityDescription)

适用于