docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PropertyInvalidCastException

    Exception thrown when a wrong PropertyType is given to a property.

    Inheritance
    object
    Exception
    PropertyInvalidCastException
    Namespace: UnityEngine.GameFoundation.Exceptions
    Assembly: solution.dll
    Syntax
    public class PropertyInvalidCastException : Exception

    Constructors

    Name Description
    PropertyInvalidCastException(string, PropertyType, PropertyType)

    Properties

    Name Description
    Message

    Gets a message that describes the current exception.

    expectedPropertyType

    The expected property type.

    givenPropertyType

    The given property type.

    propertyKey

    Key of the property that received the wrong property type.

    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)