Share via


WnsCredential Class

Definition

Represents a WNS credential.

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

Constructors

WnsCredential()

Initializes a new instance of the WnsCredential class.

WnsCredential(String, String)

Initializes a new instance of the WnsCredential 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)
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)
PackageSid

Gets or sets the package ID for this credential.

Properties

Gets or sets the properties of this credential.

(Inherited from PnsCredential)
SecretKey

Gets or sets the secret key.

WindowsLiveEndpoint

Gets or sets the Windows Live endpoint.

Methods

Equals(Object)

Specifies whether this instance os the same as the specified object.

GetHashCode()

Retrieves the hash code for the credentials.

OnValidate(Boolean)

Validates the credential.

ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to