Construtor UtilityException (String, Exception)
Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Uso
Dim message As String
Dim innerException As Exception
Dim instance As New UtilityException(message, _
innerException)
public UtilityException(
string message,
Exception innerException
)
public:
UtilityException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> UtilityException
public function UtilityException(
message : String,
innerException : Exception
)
Parâmetros
- message
Tipo: System. . :: . .String
A String value that contains a message describing the error.
- innerException
Tipo: System. . :: . .Exception
An Exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Consulte também