Search Results for

    Show / Hide Table of Contents

    Class ElementShownException

    Defines an exception for when an element is shown when it shouldn't be.

    Inheritance
    System.Object
    LegerityException
    ElementShownException
    Namespace: Legerity.Exceptions
    Assembly: Legerity.Core.dll
    Syntax
    public class ElementShownException : LegerityException

    Constructors

    | Improve this Doc View Source

    ElementShownException(String)

    Initializes a new instance of the ElementShownException class.

    Declaration
    public ElementShownException(string locator)
    Parameters
    Type Name Description
    System.String locator

    The locator used to locate the element.

    | Improve this Doc View Source

    ElementShownException(String, Exception)

    Initializes a new instance of the ElementShownException class.

    Declaration
    public ElementShownException(string locator, Exception innerException)
    Parameters
    Type Name Description
    System.String locator

    The locator used to locate the element.

    Exception innerException

    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

    Properties

    | Improve this Doc View Source

    ElementName

    Gets the name of the element that was shown.

    Declaration
    public string ElementName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Locator

    Gets the locator used to locate the element.

    Declaration
    public string Locator { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps