This topic has not yet been rated - Rate this topic

ExceptionMessageBox.CheckBoxRegistryValue Property

Gets or sets the registry value name that controls the check box on the exception message box when Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

public string CheckBoxRegistryValue { get; set; }

Property Value

Type: System.String
A String value.

CheckBoxRegistryKey is used with CheckBoxRegistryValue to initialize the selected state of the check box. If the specified registry value exists and contains a non-zero value, the check box state is selected; otherwise, it is clear. If Microsoft.SqlServer.MessageBox.ExceptionMessageBox.ShowCheckbox is true, CheckBoxRegistryMeansDoNotShowDialog is true, and the registry value exists and contains a non-zero value, the exception message box is not displayed and ExceptionMessageBox returns DefaultDialogResult when Show is called.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ