Search Results for

    Show / Hide Table of Contents

    Class ObjectNotSavedException

    Thrown when an object should be saved before performing a specific operation.

    Inheritance
    System.Object
    System.Exception
    System.SystemException
    System.InvalidOperationException
    ObjectNotSavedException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class ObjectNotSavedException : InvalidOperationException, ISerializable, _Exception

    Constructors

    ObjectNotSavedException()

    Default constructor.

    Declaration
    public ObjectNotSavedException()

    ObjectNotSavedException(SerializationInfo, StreamingContext)

    Constructor for serialization.

    Declaration
    protected ObjectNotSavedException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context

    ObjectNotSavedException(String)

    Constructor with error message.

    Declaration
    public ObjectNotSavedException(string message)
    Parameters
    Type Name Description
    System.String message

    The error message.

    ObjectNotSavedException(String, Exception)

    Constructor with error message and inner exception.

    Declaration
    public ObjectNotSavedException(string message, Exception inner)
    Parameters
    Type Name Description
    System.String message

    The error message.

    System.Exception inner

    Inner exception.

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    On this page

    • Constructors
      • ObjectNotSavedException()
      • ObjectNotSavedException(SerializationInfo, StreamingContext)
      • ObjectNotSavedException(String)
      • ObjectNotSavedException(String, Exception)
    • Implements
    Back to top Generated by DocFX