Compartir a través de


Task Constructors

Definition

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

error
Exception

The Exception used to create the task.

Remarks

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

Applies to