Конструктор ExceptionMessageBox (Exception, ExceptionMessageBoxButtons)
В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется. Use #ctor(Exception, ExceptionMesageBoxButtons) instead.
Пространство имен: Microsoft.NetEnterpriseServers
Сборка: Microsoft.NetEnterpriseServers.ExceptionMessageBox (в Microsoft.NetEnterpriseServers.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.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.