Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents the exception thrown when a metadata object instance containing fields that are not valid or are corrupted is encountered.
The InvalidMetadataObjectException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
InvalidMetadataObjectException() | Initializes a new instance of the class. |
![]() |
InvalidMetadataObjectException(String) | Initializes a new instance of the class with the specified error message. |
![]() |
InvalidMetadataObjectException(SerializationInfo, StreamingContext) | Initializes a new instance of the class with serialized data and streaming context. |
![]() |
InvalidMetadataObjectException(String, Exception) | Initializes a new instance of the class with the specified error message and a reference to the inner exception that caused this exception. |
![]() |
InvalidMetadataObjectException(UInt32, String, String, Type) | Initializes a new instance of the class with the specified metadata object ID, the metadata object name, the field name, and the metadata object type. |
![]() |
InvalidMetadataObjectException(String, UInt32, String, String, Type) | Initializes a new instance of the class with the specified error message, the metadata object ID, the metadata object name, the field name, and the metadata object type. |
![]() |
InvalidMetadataObjectException(String, Exception, UInt32, String, String, Type) | Initializes a new instance of the class with the specified error message, a reference to the inner exception that caused this exception, the metadata object ID, the metadata object name, the field name, and the metadata object type. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
HasExplicitMessage | Gets a value that indicates whether the exception has a text message. (Inherited from MetadataException.) |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
InvalidFieldName | Gets or sets the field that is not valid. |
![]() |
InvalidMetadataObjectId | Gets or sets the MetadataObjectId property that is not valid. |
![]() |
InvalidMetadataObjectName | Gets or sets the metadata object name that is not valid. |
![]() |
Message | Gets or sets the exception message. (Overrides MetadataException.Message.) |
![]() |
MetadataObjectType | Gets or sets the type of the metadata object that caused the exception. (Inherited from MetadataException.) |
![]() |
ServerStackTrace | Gets or sets the server stack trace. (Inherited from MetadataException.) |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
TargetSite | (Inherited from Exception.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetObjectData | Returns the object serialization and streaming data. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
Initialize | Initializes the exception object. |
![]() |
LogEvent | Logs the event in the server event log. (Inherited from MetadataException.) |
![]() |
ToString | Converts the exception object to a string. (Overrides MetadataException.ToString().) |
Top
See Also
Reference
InvalidMetadataObjectException Class
Microsoft.SharePoint.BusinessData.Administration.Client Namespace
.gif)
.gif)
.gif)
.gif)