Class SerializationException | Serialization | 1.2.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class SerializationException

    The exception thrown when an error occurs during serialization or deserialization.

    Inheritance
    Object
    Exception
    SerializationException
    Namespace: Unity.Serialization
    Syntax
    [Serializable]
    public class SerializationException : Exception, ISerializable, _Exception

    Constructors

    SerializationException(String)

    Initializes a new instance of the SerializationException class with a specified message.

    Declaration
    public SerializationException(string message)
    Parameters
    Type Name Description
    String message

    The message for the exception.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX