docs.unity3d.com
    Show / Hide Table of Contents

    Class ValueOutOfRangeException

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

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

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023