DacModelException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DacModelException() |
Construct a new instance of the DacModelException class. |
DacModelException(String) |
Construct a new instance of the DacModelException class with the specified error message. |
DacModelException(SerializationInfo, StreamingContext) | |
DacModelException(String, Exception) |
Construct a new instance of the DacModelException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
DacModelException()
Construct a new instance of the DacModelException class.
public DacModelException ();
Public Sub New ()
Applies to
DacModelException(String)
Construct a new instance of the DacModelException class with the specified error message.
public DacModelException (string message);
new Microsoft.SqlServer.Dac.Model.DacModelException : string -> Microsoft.SqlServer.Dac.Model.DacModelException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
DacModelException(SerializationInfo, StreamingContext)
protected DacModelException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Dac.Model.DacModelException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Dac.Model.DacModelException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
Applies to
DacModelException(String, Exception)
Construct a new instance of the DacModelException class with the specified error message and a reference to the inner exception that is the cause of this exception.
public DacModelException (string message, Exception innerException);
new Microsoft.SqlServer.Dac.Model.DacModelException : string * Exception -> Microsoft.SqlServer.Dac.Model.DacModelException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.