DocumentErrorEventArgs class [SDM] 

 
SDM Reference

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)

Determines whether the specified Object is equal to the current Object.

Equals(Object, Object)

Static (Shared).

Determines whether the specified Object instances are considered equal.

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

Gets the Type of the current instance.

ReferenceEquals(Object, Object)

Static (Shared).

Determines whether the specified Object instances are the same instance.

ToString()

Returns a String that represents the current Object.

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).

Represents an event with no event data.

Protected Methods

The DocumentErrorEventArgs class has the following protected methods.

Method Description
Finalize()

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

MemberwiseClone()

Creates a shallow copy of the current Object.

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

  
  Last updated: November 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.