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

FcmCredential 类

定义

表示 Firebase Cloud Messaging 凭据。

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

构造函数

FcmCredential()

初始化 FcmCredential 类的新实例。

FcmCredential(String)

初始化 FcmCredential 类的新实例。

属性

BlockedOn

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

(继承自 PnsCredential)
ExtensionData

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

(继承自 EntityDescription)
FcmEndpoint

获取或设置 FCM 终结点。

GoogleApiKey

获取或设置 Google API 密钥。

IsReadOnly

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

(继承自 EntityDescription)
Item[String]

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

(继承自 PnsCredential)
Properties

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

(继承自 PnsCredential)

方法

Equals(Object)

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

GetHashCode()

检索凭据的哈希代码。

OnValidate(Boolean)

验证凭据。

(继承自 PnsCredential)
ThrowIfReadOnly()

如果设置了只读布尔值,则引发 。

(继承自 EntityDescription)

适用于