Task Constructor (Exception^)

 

Initializes a new instance of Task for the supplied exception.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
Task(
	Exception^ error
)

Parameters

error
Type: System::Exception^

The Exception used to create the task.

This method extracts the available information from the exception to fill in the task properties.

Return to top
Show: