GcmCredential 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.
Caution
GcmCredential is deprecated, please use FcmCredential instead.
Represents the Google Cloud Messaging credential.
[System.Obsolete("GcmCredential is deprecated, please use FcmCredential instead.")]
[System.Runtime.Serialization.DataContract(Name="GcmCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class GcmCredential : Microsoft.Azure.NotificationHubs.PnsCredential
[<System.Obsolete("GcmCredential is deprecated, please use FcmCredential instead.")>]
[<System.Runtime.Serialization.DataContract(Name="GcmCredential", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type GcmCredential = class
inherit PnsCredential
Public Class GcmCredential
Inherits PnsCredential
- Inheritance
- Attributes
Constructors
GcmCredential() |
Initializes a new instance of the GcmCredential class. |
GcmCredential(String) |
Initializes a new instance of the GcmCredential class. |
Properties
BlockedOn |
Gets or sets the time and date this credential is blocked on. (Inherited from PnsCredential) |
ExtensionData |
Gets or sets the structure that contains extra data. (Inherited from EntityDescription) |
GcmEndpoint |
Gets or sets the GCM endpoint. |
GoogleApiKey |
Gets or sets the Google API key. |
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) |
Properties |
Gets or sets the properties of this credential. (Inherited from PnsCredential) |
Methods
Equals(Object) |
Specifies whether the credential is equal with the specific object. |
GetHashCode() |
Retrieves the hash code for the credentials. |
OnValidate(Boolean) |
Called to validate the given credential. |
ThrowIfReadOnly() |
Throw if the read only bool is set. (Inherited from EntityDescription) |
Applies to
Azure SDK for .NET