IgnoredAttribute Class

Marks a constructor that Oxbind should ignore during deserialization.

C#
[AttributeUsage(System.AttributeTargets.Constructor, Inherited = false, AllowMultiple = false)]
public sealed class IgnoredAttribute : Attribute
Inheritance
IgnoredAttribute
Attributes

Remarks

When a class defines multiple constructors, Oxbind needs to determine which one to use for deserialization. Annotate constructors that Oxbind should not use with this attribute.

If a class has multiple constructors and Oxbind cannot unambiguously determine which one to use (i.e., more than one constructor is not annotated with IgnoredAttribute), a runtime error occurs.

Properties

TypeId (Inherited from Attribute)

Methods

Equals(object) (Inherited from Attribute)
GetHashCode() (Inherited from Attribute)
IsDefaultAttribute() (Inherited from Attribute)
Match(object) (Inherited from Attribute)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)