Visual Basic (Declaration) | |
---|---|
<CategoryAttribute("Behavior")> <DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")> <DefaultValueAttribute()> Public Property ErrorBehavior As ErrorBehavior |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveImage Dim value As ErrorBehavior instance.ErrorBehavior = value value = instance.ErrorBehavior |
C# | |
---|---|
[CategoryAttribute("Behavior")] [DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")] [DefaultValueAttribute()] public ErrorBehavior ErrorBehavior {get; set;} |
C++/CLI | |
---|---|
[CategoryAttribute("Behavior")] [DescriptionAttribute("Determines how unhandled exceptions are handled in a callback.")] [DefaultValueAttribute()] public: property ErrorBehavior ErrorBehavior { ErrorBehavior get(); void set ( ErrorBehavior value); } |
Property Value
An ErrorBehavior enumerated value. Defaults to ErrorBehavior.ShowInBrowser.Set ErrorBehavior to specify whether an exception raised by the PowerWEB control should cause an error page, an alert box, or no indication to appear.
If set to ErrorBehavior.ShowAlert, set the alert message using the ErrorMessage property.
Target Platforms: Microsoft .NET Framework 2.0