DuplicateInstanceException
Namespace: MonineEngine.Core
The exception that is thrown when a duplicate is found in a space where duplicates are not allowed.
public class DuplicateInstanceException : System.Exception, System.Runtime.Serialization.ISerializable
Inheritance Object → Exception → DuplicateInstanceException
Implements ISerializable
Attributes NullableContextAttribute, NullableAttribute
Properties
Instance
The object instance that had a duplicate.
public object Instance { get; }
Property Value
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
DuplicateInstanceException(String, Object)
Constructs a new DuplicateInstanceException.
public DuplicateInstanceException(string message, object instance)
Parameters
message String
The message that describes the error.
instance Object
The instance that had a duplicate.
Events
SerializeObjectState
Caution
BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;