Class ObjectNotSavedException
Thrown when an object should be saved before performing a specific operation.
Inheritance
Object
Exception
SystemException
InvalidOperationException
ObjectNotSavedException
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
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
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 |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
ObjectNotSavedException(String)
Constructor with error message.
Declaration
public ObjectNotSavedException(string message)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
String | message | The error message. |
Exception | inner | Inner exception. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception