InstAPIException 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.
Initializes a new instance of the InstAPIException class.
Overloads
InstAPIException() |
Initializes a new instance of the InstAPIException class. |
InstAPIException(String) |
Initializes a new instance of the InstAPIException class with specified message. |
InstAPIException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InstAPIException class with specified information and context. |
InstAPIException(String, Exception) |
Initializes a new instance of the InstAPIException class with specified message and inner exception. |
InstAPIException()
Initializes a new instance of the InstAPIException class.
public:
InstAPIException();
public InstAPIException ();
Public Sub New ()
Applies to
InstAPIException(String)
Initializes a new instance of the InstAPIException class with specified message.
public:
InstAPIException(System::String ^ message);
public InstAPIException (string message);
new Microsoft.SqlServer.InstAPIException : string -> Microsoft.SqlServer.InstAPIException
Public Sub New (message As String)
Parameters
- message
- String
The message about the exception.
Applies to
InstAPIException(SerializationInfo, StreamingContext)
Initializes a new instance of the InstAPIException class with specified information and context.
protected:
InstAPIException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstAPIException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.InstAPIException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.InstAPIException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The exception information.
- context
- StreamingContext
The context.
Applies to
InstAPIException(String, Exception)
Initializes a new instance of the InstAPIException class with specified message and inner exception.
public:
InstAPIException(System::String ^ message, Exception ^ innerException);
public InstAPIException (string message, Exception innerException);
new Microsoft.SqlServer.InstAPIException : string * Exception -> Microsoft.SqlServer.InstAPIException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message about the exception.
- innerException
- Exception
The inner exception.