Share via


UnintentionalCodeFirstException Constructors

Definition

Overloads

UnintentionalCodeFirstException()

Initializes a new instance of the UnintentionalCodeFirstException class.

UnintentionalCodeFirstException(String)

Initializes a new instance of the UnintentionalCodeFirstException class.

UnintentionalCodeFirstException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnintentionalCodeFirstException class.

UnintentionalCodeFirstException(String, Exception)

Initializes a new instance of the UnintentionalCodeFirstException class.

UnintentionalCodeFirstException()

Initializes a new instance of the UnintentionalCodeFirstException class.

public UnintentionalCodeFirstException ();
Public Sub New ()

Applies to

UnintentionalCodeFirstException(String)

Initializes a new instance of the UnintentionalCodeFirstException class.

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

Parameters

message
String

The message.

Applies to

UnintentionalCodeFirstException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnintentionalCodeFirstException class.

protected UnintentionalCodeFirstException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.Entity.Infrastructure.UnintentionalCodeFirstException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.Entity.Infrastructure.UnintentionalCodeFirstException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

UnintentionalCodeFirstException(String, Exception)

Initializes a new instance of the UnintentionalCodeFirstException class.

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

Parameters

message
String

The message.

innerException
Exception

The inner exception.

Applies to