Show / Hide Table of Contents

    Class AzureNetworkCredential

    Represents the user name and password credential used for client or service authentication with Windows Azure Service Bus.

    Inheritance
    System.Object
    AzureNetworkCredential
    Implements
    IValidator
    System.IEquatable<AzureNetworkCredential>
    System.Runtime.Serialization.IExtensibleDataObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class AzureNetworkCredential : IValidator, IEquatable<AzureNetworkCredential>, IExtensibleDataObject

    Constructors

    AzureNetworkCredential()

    Initializes an empty instance.

    Declaration
    public AzureNetworkCredential()

    AzureNetworkCredential(AzureNetworkCredential)

    Initializes new instance from provided credentials.

    Declaration
    public AzureNetworkCredential(AzureNetworkCredential credentials)
    Parameters
    Type Name Description
    AzureNetworkCredential credentials

    An existing instance to be initialized from.

    Properties

    Domain

    Gets or sets the Windows domain name.

    Declaration
    public string Domain { get; set; }
    Property Value
    Type Description
    System.String

    ErrorMessage

    Gets the summary of validation errors.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    System.String

    ExtensionData

    Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization roundtrips.

    Declaration
    public ExtensionDataObject ExtensionData { get; set; }
    Property Value
    Type Description
    System.Runtime.Serialization.ExtensionDataObject

    Password

    Gets or sets the password.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    System.String

    UserName

    Gets or sets the user name.

    Declaration
    public string UserName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(AzureNetworkCredential)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(AzureNetworkCredential other)
    Parameters
    Type Name Description
    AzureNetworkCredential other

    The objects to compare with the current object.

    Returns
    Type Description
    System.Boolean

    True, if objects are equal. False, if objects are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The object to compare with the current object.

    Returns
    Type Description
    System.Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code of the current instance.

    Overrides
    System.Object.GetHashCode()

    ToString()

    Returns friendly description of the instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Friendly description of the instance.

    Overrides
    System.Object.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    System.Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    System.IEquatable<T>
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.6 Online Documentation