Compartilhar via


SqlServerManagementException Constructors

Definition

Overloads

SqlServerManagementException()

Constructs a new SqlServerManagementException with an empty message and no inner exception

SqlServerManagementException(String)

Constructs a new SqlServerManagementException with the given message and no inner exception

SqlServerManagementException(SerializationInfo, StreamingContext)
SqlServerManagementException(String, Exception)

Constructs a new SqlServerManagementException with the given message and inner exception

SqlServerManagementException()

Constructs a new SqlServerManagementException with an empty message and no inner exception

public SqlServerManagementException ();
Public Sub New ()

Applies to

SqlServerManagementException(String)

Constructs a new SqlServerManagementException with the given message and no inner exception

public SqlServerManagementException (string message);
new Microsoft.SqlServer.Management.Common.SqlServerManagementException : string -> Microsoft.SqlServer.Management.Common.SqlServerManagementException
Public Sub New (message As String)

Parameters

message
String

Applies to

SqlServerManagementException(SerializationInfo, StreamingContext)

protected SqlServerManagementException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Common.SqlServerManagementException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Common.SqlServerManagementException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

SqlServerManagementException(String, Exception)

Constructs a new SqlServerManagementException with the given message and inner exception

public SqlServerManagementException (string message, Exception innerException);
new Microsoft.SqlServer.Management.Common.SqlServerManagementException : string * Exception -> Microsoft.SqlServer.Management.Common.SqlServerManagementException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Applies to