Share via


TaskException Constructor (String, Exception)

Initializes a new instance of the TaskException class with the specified error message and the specified exception that is the cause of the current exception.

Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)

Usage

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
public TaskException (
    string message,
    Exception inner
)
public:
TaskException (
    String^ message, 
    Exception^ inner
)
public TaskException (
    String message, 
    Exception inner
)
public function TaskException (
    message : String, 
    inner : Exception
)

Parameters

  • message
    The error message that explains the reason for the exception.
  • inner
    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

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

TaskException Class
TaskException Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace