docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ValueOutOfRangeException

    Exception thrown when a Visual Element hasn't been found.

    Inheritance
    object
    Exception
    ValueOutOfRangeException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    [Serializable]
    public sealed class ValueOutOfRangeException : Exception, ISerializable

    Constructors

    ValueOutOfRangeException(string, object)

    Default constructor.

    Declaration
    public ValueOutOfRangeException(string varName, object value = null)
    Parameters
    Type Name Description
    string varName

    The name of the variable with an out of range value.

    object value

    The current value of the variable.

    Implements

    ISerializable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)