Share via


DetailGroup.FromException Method

Creates a DetailGroup from an Exception.

Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)

Usage

Syntax

'Declaration
Public Shared Function FromException ( _
    title As String, _
    exception As Exception _
) As DetailGroup
public static DetailGroup FromException (
    string title,
    Exception exception
)
public:
static DetailGroup^ FromException (
    String^ title, 
    Exception^ exception
)
public static DetailGroup FromException (
    String title, 
    Exception exception
)
public static function FromException (
    title : String, 
    exception : Exception
) : DetailGroup

Parameters

  • title
    A string that is used to display the context of the failure.

Return Value

An instance of DetailGroup.

Exceptions

Exception type Condition
ArgumentException

One or more of the parameters are not valid.

ArgumentNullException

One or more of the parameters are null.

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

Development Platforms

Windows Server 2008 64-bit Edition, Windows Vista 64-bit Edition, Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

Target Platforms

Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium

See Also

Reference

DetailGroup Class
DetailGroup Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace