docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializationException

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

    Inheritance
    Object
    Exception
    SerializationException
    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.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.

    In This Article
    • Constructors
      • SerializationException(String)
    Back to top
    Terms of use
    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