docs.unity.cn
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
    _Exception
    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
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Unity.AppUI.UI
    Assembly: solution.dll
    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.

    Implements

    ISerializable
    _Exception
    In This Article
    Back to top
    Copyright © 2024 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)