ExceptionExtensionsSetAsDisplayException Method

Marks the exception as the "display" exception.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public static Exception SetAsDisplayException(
	this Exception exception
)

Parameters

exception
Type: SystemException
The exception.

Return Value

Type: Exception
The original exception.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also