MarkErrorAsHandled Method
Collapse the table of content
Expand the table of content

LoadedDataEventArgs.MarkErrorAsHandled Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

For a failed operation, marks the error as handled so the exception is not thrown.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

public void MarkErrorAsHandled()

When the HasError is true, this method marks the error as handled. If this method is not called for a failed operation, an exception will be thrown.

© 2016 Microsoft