DetailItem.FromException Method (Exception)
Creates a DetailItem from an Exception.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public static DetailItem FromException(
Exception exception
)
public:
static DetailItem^ FromException(
Exception^ exception
)
Public Shared Function FromException (
exception As Exception
) As DetailItem
Parameters
exception
Type: System.ExceptionThe Exception that occurred.
Return Value
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.DetailItem
An instance of DetailItem.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | exception is null. |
See Also
DetailItem Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top