Task Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Task() |
Initializes a new instance of Task. |
Task(Exception) |
Initializes a new instance of Task for the supplied exception. |
Task()
Initializes a new instance of Task.
public:
Task();
public:
Task();
Task();
public Task ();
Public Sub New ()
Applies to
Task(Exception)
Initializes a new instance of Task for the supplied exception.
public:
Task(Exception ^ error);
public Task (Exception error);
new Microsoft.VisualStudio.Shell.Task : Exception -> Microsoft.VisualStudio.Shell.Task
Public Sub New (error As Exception)
Parameters
Remarks
This method extracts the available information from the exception to fill in the task properties.