Construtor ExceptionMessageBox (Exception, ExceptionMessageBoxButtons)
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam. Use #ctor(Exception, ExceptionMesageBoxButtons) instead.
Namespace: Microsoft.NetEnterpriseServers
Assembly: Microsoft.NetEnterpriseServers.ExceptionMessageBox (em Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Sintaxe
'Declaração
Public Sub New ( _
exception As Exception, _
buttons As ExceptionMessageBoxButtons _
)
'Uso
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
)
Parâmetros
- exception
Tipo: 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
Tipo: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the message box.
Consulte também