Freigeben über


Logging.ShowErrors Property

Gets or sets a Boolean value that specifies whether error messages will be displayed in a messagebox. False by default.

Namespace: Microsoft.Uii.Common.Logging
Assembly: Microsoft.Uii.Common.Logging (in Microsoft.Uii.Common.Logging.dll)

Usage

'Usage
Dim value As Boolean

value = Logging.ShowErrors

Logging.ShowErrors = value

Syntax

'Declaration
Public Shared Property ShowErrors As Boolean
public static bool ShowErrors { get; set; }
public:
static property bool ShowErrors {
    bool get ();
    void set (bool value);
}
/** @property */
public static boolean get_ShowErrors ()

/** @property */
public static void set_ShowErrors (boolean value)
public static function get ShowErrors () : boolean

public static function set ShowErrors (value : boolean)

Property Value

Type: Boolean
True if the error messages will be displayed, otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Logging Class
Logging Members
Microsoft.Uii.Common.Logging Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.