MetadataConversionError MetadataConversionError MetadataConversionError MetadataConversionError Class

Definition

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
MetadataConversionErrorMetadataConversionErrorMetadataConversionErrorMetadataConversionError

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) MetadataConversionError(String) MetadataConversionError(String) MetadataConversionError(String)

Initializes a new instance of the MetadataConversionError class using the specified message.

MetadataConversionError(String, Boolean) MetadataConversionError(String, Boolean) MetadataConversionError(String, Boolean) MetadataConversionError(String, Boolean)

Initializes a new instance of the MetadataConversionError class using the specified message and isWarning value.

Properties

IsWarning IsWarning IsWarning IsWarning

Gets a value that indicates whether the MetadataConversionError is a warning or an error.

Message Message Message Message

Gets the error or warning message.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Returns a value that indicates whether two MetadataConversionError objects have value equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a value that serves as a hash function for a MetadataConversionError object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to