DynamicValidatorEventArgs DynamicValidatorEventArgs DynamicValidatorEventArgs 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
DynamicValidatorEventArgsDynamicValidatorEventArgsDynamicValidatorEventArgsDynamicValidatorEventArgs

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) DynamicValidatorEventArgs(Exception, DynamicDataSourceOperation) DynamicValidatorEventArgs(Exception, DynamicDataSourceOperation) 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 Exception Exception Exception

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

Operation Operation Operation Operation

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

Methods

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

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

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