Show / Hide Table of Contents

Class NameAlreadyExistsException

Bei der Namensänderung eines Objektes (z.B. Layer, Farbe u.s.w.) tritt diese Exception auf, wenn eine nach Namen sortierte Liste (z.B. LayerList) ein Objekt mit diesen Namen bereits enthält. Diese Exception wird in CONDOR bei Namensänderungen abgefangen und der alte Name wird wieder gesetzt.

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

Constructors

| Improve this Doc View Source

NameAlreadyExistsException(Object, Object, String)

Declaration
public NameAlreadyExistsException(object ContainingList, object OffendingObject, string NewName)
Parameters
Type Name Description
System.Object ContainingList
System.Object OffendingObject
System.String NewName
| Improve this Doc View Source

NameAlreadyExistsException(Object, Object, String, String)

Declaration
public NameAlreadyExistsException(object ContainingList, object OffendingObject, string NewName, string OldName)
Parameters
Type Name Description
System.Object ContainingList
System.Object OffendingObject
System.String NewName
System.String OldName

Fields

| Improve this Doc View Source

ContainingList

Die Liste, die das Objekt enthält, und die bereits ein objekt mit neuem Namen enthält

Declaration
public object ContainingList
Field Value
Type Description
System.Object
| Improve this Doc View Source

NewName

Der neue Name, der versucht wurde zu setzen

Declaration
public string NewName
Field Value
Type Description
System.String
| Improve this Doc View Source

OffendingObject

Das Objekt (z.B. Layer), welches den Verstoß ausgelöst hat

Declaration
public object OffendingObject
Field Value
Type Description
System.Object
| Improve this Doc View Source

OldName

Der alte Name, so wie er in Ordnung war

Declaration
public string OldName
Field Value
Type Description
System.String

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX