Share via


ExceptionMessageBox.CustomSymbol Property

Gets or sets a custom bitmap to use as the symbol on the exception message box.

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

Syntax

'Declaration
Public Property CustomSymbol As Bitmap 
    Get 
    Set
'Usage
Dim instance As ExceptionMessageBox 
Dim value As Bitmap 

value = instance.CustomSymbol

instance.CustomSymbol = value
public Bitmap CustomSymbol { get; set; }
public:
property Bitmap^ CustomSymbol {
    Bitmap^ get ();
    void set (Bitmap^ value);
}
member CustomSymbol : Bitmap with get, set
function get CustomSymbol () : Bitmap 
function set CustomSymbol (value : Bitmap)

Property Value

Type: System.Drawing.Bitmap
A Bitmap object.

Remarks

When CustomSymbol is not nulla null reference (Nothing in Visual Basic), the specified bitmap is used as the exception message box symbol and Symbol is ignored.

The specified bitmap is assumed to have a resolution of 32x32 pixels.

The default value is nulla null reference (Nothing in Visual Basic).

See Also

Reference

ExceptionMessageBox Class

Microsoft.SqlServer.MessageBox Namespace