Construtor ExceptionMessageBox (String, String, ExceptionMessageBoxButtons, ExceptionMessageBoxSymbol, ExceptionMessageBoxDefaultButton)
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 ExceptionMessageBox instead.
Namespace: Microsoft.NetEnterpriseServers
Assembly: Microsoft.NetEnterpriseServers.ExceptionMessageBox (em Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Sintaxe
'Declaração
Public Sub New ( _
text As String, _
caption As String, _
buttons As ExceptionMessageBoxButtons, _
symbol As ExceptionMessageBoxSymbol, _
defaultButton As ExceptionMessageBoxDefaultButton _
)
'Uso
Dim text As String
Dim caption As String
Dim buttons As ExceptionMessageBoxButtons
Dim symbol As ExceptionMessageBoxSymbol
Dim defaultButton As ExceptionMessageBoxDefaultButton
Dim instance As New ExceptionMessageBox(text, caption, _
buttons, symbol, defaultButton)
public ExceptionMessageBox(
string text,
string caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton
)
public:
ExceptionMessageBox(
String^ text,
String^ caption,
ExceptionMessageBoxButtons buttons,
ExceptionMessageBoxSymbol symbol,
ExceptionMessageBoxDefaultButton defaultButton
)
new :
text:string *
caption:string *
buttons:ExceptionMessageBoxButtons *
symbol:ExceptionMessageBoxSymbol *
defaultButton:ExceptionMessageBoxDefaultButton -> ExceptionMessageBox
public function ExceptionMessageBox(
text : String,
caption : String,
buttons : ExceptionMessageBoxButtons,
symbol : ExceptionMessageBoxSymbol,
defaultButton : ExceptionMessageBoxDefaultButton
)
Parâmetros
- text
Tipo: System. . :: . .String
Error text of the top-level message.
- caption
Tipo: System. . :: . .String
Dialog box caption of the exception message box.
- buttons
Tipo: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons enumeration that specifies the buttons to display in the exception message box.
- symbol
Tipo: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxSymbol
ExceptionMessageBoxSymbol enumeration that specifies the symbol to display in the exception message box.
- defaultButton
Tipo: Microsoft.NetEnterpriseServers. . :: . .ExceptionMessageBoxDefaultButton
ExceptionMessageBoxDefaultButton enumeration that specifies the default button for the exception message box.
Consulte também