DocumentErrorEventArgs

DocumentErrorEventArgs

Contains the error information when an SDM compiler error occurs. An instance of this class is passed to all targets that are subscribed to the event.

The DocumentErrorEventArgs class is derived from the System.EventArgs class.

Public Methods

The DocumentErrorEventArgs class has the following public methods.

Method Description
Equals(Object)

Equals(Object, Object)

Static (Shared).

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures such as a hash table.

GetType()

ReferenceEquals(Object, Object)

Static (Shared).

ToString()

Public Properties

The DocumentErrorEventArgs class has the following public properties.

Property Description
Error Data type: DocumentError
Access type: Read-only

Gets the error for this document error event.

WarningLevelAsErrors Data type: WarningLevel
Access type: Read-only

Gets the minimum warning level that should be treated as errors.

Public Fields

The DocumentErrorEventArgs class defines the following public field.

Field Description
Empty Data type: EventArgs
Access type: Read/write

Static (Shared).

Protected Methods

The DocumentErrorEventArgs class has the following protected methods.

Method Description
Finalize()

MemberwiseClone()

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools

Send comments about this topic to Microsoft

Build date: 10/2/2007