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.StringA string that is used to display the context of the failure.
exception
Type: System.ExceptionThe Exception that occurred.
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