Düzenle

Aracılığıyla paylaş


DynamicValidatorEventArgs Class

Definition

Base class for DynamicValidator classes that contain event data.

public ref class DynamicValidatorEventArgs : EventArgs
public class DynamicValidatorEventArgs : EventArgs
type DynamicValidatorEventArgs = class
    inherit EventArgs
Public Class DynamicValidatorEventArgs
Inherits EventArgs
Inheritance
DynamicValidatorEventArgs

Remarks

The DynamicValidator class catches exceptions thrown from LINQ to SQL classes or from Entity Framework methods in a data model. This class does not contain event data. It is used by events that do not pass state information to an event handler when an event is raised. If the event handler requires state information, you must create a derived class from this class to hold the data.

Constructors

DynamicValidatorEventArgs(Exception, DynamicDataSourceOperation)

Initializes a new instance of the DynamicValidatorEventArgs class, using the exception that occurred and the data source operation that caused the exception.

Properties

Exception

Gets the exception that occurs during a data source operation event.

Operation

Gets the data source operation that caused an exception in the DynamicValidator class.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

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

Applies to