MetadataConversionError Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an error or warning event that occurred during the use of a MetadataExporter or MetadataImporter.
public ref class MetadataConversionError
public class MetadataConversionError
type MetadataConversionError = class
Public Class MetadataConversionError
- Inheritance
-
MetadataConversionError
Remarks
You typically use MetadataConversionError objects to determine whether classes that extend MetadataExporter and MetadataImporter have encountered an error or warning condition by checking the Errors and Errors properties after importing or exporting the metadata. Tools can use these error and warning messages to report metadata import and export problems to the user.
Constructors
MetadataConversionError(String) |
Initializes a new instance of the MetadataConversionError class using the specified message. |
MetadataConversionError(String, Boolean) |
Initializes a new instance of the MetadataConversionError class using the specified message and |
Properties
IsWarning |
Gets a value that indicates whether the MetadataConversionError is a warning or an error. |
Message |
Gets the error or warning message. |
Methods
Equals(Object) |
Returns a value that indicates whether two MetadataConversionError objects have value equality. |
GetHashCode() |
Returns a value that serves as a hash function for a MetadataConversionError object. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |