Compartilhar via


DetailGroup.FromException Method (String, Exception)

 

Creates a DetailGroup from an Exception.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

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

Parameters

  • title
    Type: System.String

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

Return Value

Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.DetailGroup

An instance of DetailGroup.

Exceptions

Exception Condition
ArgumentException

One or more of the parameters are not valid.

ArgumentNullException

One or more of the parameters are null.

See Also

DetailGroup Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top