DbUnexpectedValidationException Constructors

Definition

Overloads

DbUnexpectedValidationException()

Initializes a new instance of DbUnexpectedValidationException.

DbUnexpectedValidationException(String)

Initializes a new instance of DbUnexpectedValidationException.

DbUnexpectedValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and context.

DbUnexpectedValidationException(String, Exception)

Initializes a new instance of DbUnexpectedValidationException.

DbUnexpectedValidationException()

Initializes a new instance of DbUnexpectedValidationException.

public DbUnexpectedValidationException ();
Public Sub New ()

Applies to

DbUnexpectedValidationException(String)

Initializes a new instance of DbUnexpectedValidationException.

public DbUnexpectedValidationException (string message);
new System.Data.Entity.Validation.DbUnexpectedValidationException : string -> System.Data.Entity.Validation.DbUnexpectedValidationException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

DbUnexpectedValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and context.

[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
protected DbUnexpectedValidationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.Entity.Validation.DbUnexpectedValidationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.Entity.Validation.DbUnexpectedValidationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization info.

context
StreamingContext

The streaming context.

Attributes

Applies to

DbUnexpectedValidationException(String, Exception)

Initializes a new instance of DbUnexpectedValidationException.

public DbUnexpectedValidationException (string message, Exception innerException);
new System.Data.Entity.Validation.DbUnexpectedValidationException : string * Exception -> System.Data.Entity.Validation.DbUnexpectedValidationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Applies to