InvalidMetadataPropertyException members
Represents the exception that is thrown if a metadata property is not valid.
The InvalidMetadataPropertyException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InvalidMetadataPropertyException() | Constructs a new instance of the class. | |
InvalidMetadataPropertyException(String) | Constructs a new instance of the class with a message. | |
InvalidMetadataPropertyException(Type) | Constructs a new instance of the class by using the metadata object. | |
InvalidMetadataPropertyException(SerializationInfo, StreamingContext) | Constructs a new instance of the class by using the serialization information and the streaming context. | |
InvalidMetadataPropertyException(String, Exception) | Constructs a new instance of the class with a message and the inner exception. | |
InvalidMetadataPropertyException(String, String, Type) | Constructs a new instance of the class by using the property name that is not valid, a metadata object name, and a metadata object type. | |
InvalidMetadataPropertyException(String, String, String, Type) | Constructs a new instance of the class with a message, a property name that is not valid, a metadata object name, and a metadata object type. | |
InvalidMetadataPropertyException(String, Exception, String, String, Type) | Constructs a new instance of the class with a message, an inner exception, a property name that is not valid, a metadata object name, and a metadata object type. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HasExplicitMessage | Gets a value that indicates whether the exception has an explicit message. (Inherited from MetadataException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
InvalidPropertyName | Gets or sets the name of the property that is not valid. | |
Message | Gets the exception message string. (Overrides MetadataException.Message.) | |
MetadataObjectName | Gets or sets the name of the metadata object that contains the property that is not valid. | |
MetadataObjectType | Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception. (Inherited from MetadataException.) | |
ServerStackTrace | Gets the server stack trace. (Inherited from MetadataException.) | |
StackTrace | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
GetBaseException | (Inherited from Exception.) | |
GetObjectData | Gets the object serialization and streaming data. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
LogEvent | Logs the event. (Inherited from MetadataException.) | |
ToString | Converts and returns a string representation of this exception. (Overrides MetadataException.ToString().) |
Top