DetailColumnCollection.FromException Method
Creates a DetailColumnCollection 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 DetailColumnCollection
public static DetailColumnCollection FromException (
string title,
Exception exception
)
public:
static DetailColumnCollection^ FromException (
String^ title,
Exception^ exception
)
public static DetailColumnCollection FromException (
String title,
Exception exception
)
public static function FromException (
title : String,
exception : Exception
) : DetailColumnCollection
Parameters
- title
A string that is used to display the context of the failure.
- exception
The Exception that occurred.
Return Value
An instance of DetailColumnCollection.
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
DetailColumnCollection Class
DetailColumnCollection Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace