Unosquare
    Show / Hide Table of Contents

    Class Win32ErrorCode

    Represents a container of Win32 Error Code.

    Inheritance
    System.Object
    Win32ErrorCode
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Zyborg.PassCore.PasswordProvider.LDAP
    Syntax
    public class Win32ErrorCode

    Fields

    Codes

    Declaration
    public static readonly IEnumerable<Win32ErrorCode> Codes
    Field Value
    Type Description
    System.Collections.Generic.IEnumerable<Win32ErrorCode>

    Properties

    Code

    Gets the code.

    Declaration
    public int Code { get; }
    Property Value
    Type Description
    System.Int32

    The code.

    CodeName

    Gets the name of the code.

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

    The name of the code.

    Description

    Gets the description.

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

    The description.

    Methods

    ByCode(Int32)

    Get Error Code by the code.

    Declaration
    public static Win32ErrorCode ByCode(int code)
    Parameters
    Type Name Description
    System.Int32 code

    The code.

    Returns
    Type Description
    Win32ErrorCode

    A Win32ErrorCode from the code.

    Equals(Object)

    Determines whether the specified System.Object, is equal to this instance.

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

    The System.Object to compare with this instance.

    Returns
    Type Description
    System.Boolean

    true if the specified System.Object is equal to this instance; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns a hash code for this instance.

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

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    System.Object.GetHashCode()

    Comments

    Back to top Copyright © 2017-2019 Unosquare