Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Creates an instance of ExceptionMessageBox by using information from the specified Exception and by specifying the buttons to display in the message box.
Пространство имен: Microsoft.SqlServer.MessageBox
Сборка: Microsoft.ExceptionMessageBox (в Microsoft.ExceptionMessageBox.dll)
Синтаксис
'Декларация
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons _
)
'Применение
Dim exception As Exception
Dim buttons As ExceptionMessageBoxButtons
Dim instance As New ExceptionMessageBox(exception, _
buttons)
public ExceptionMessageBox(
Exception exception,
ExceptionMessageBoxButtons buttons
)
public:
ExceptionMessageBox(
Exception^ exception,
ExceptionMessageBoxButtons buttons
)
new :
exception:Exception *
buttons:ExceptionMessageBoxButtons -> ExceptionMessageBox
public function ExceptionMessageBox(
exception : Exception,
buttons : ExceptionMessageBoxButtons
)
Параметры
- exception
Тип: System.Exception
Exception that contains the top-level text, inner exception text, caption, data, help link, and optional additional information to display in the exception message box.
- buttons
Тип: Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.