Partager via


DetailColumnCollection.FromException Method (String, Exception)

 

Creates a DetailColumnCollection from an Exception.

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

Syntax

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

Parameters

  • title
    Type: System.String

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

Return Value

Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.DetailColumnCollection

An instance of DetailColumnCollection.

Exceptions

Exception Condition
ArgumentException

One or more of the parameters are not valid.

ArgumentNullException

One or more of the parameters are null.

See Also

DetailColumnCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top