Share via


TaskSchedulingException Class

Definition

Exception raised when a task scheduling failed and could not be retried.

public ref class TaskSchedulingException : Exception
[System.Serializable]
public class TaskSchedulingException : Exception
[<System.Serializable>]
type TaskSchedulingException = class
    inherit Exception
Public Class TaskSchedulingException
Inherits Exception
Inheritance
TaskSchedulingException
Attributes

Remarks

This exception is raised from IVsTask.Wait* methods when a task that needs to be run for Wait to finish could not be scheduled.

Constructors

TaskSchedulingException()

Initializes a new instance of the TaskSchedulingException class.

TaskSchedulingException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the TaskSchedulingException class with serialized data.

TaskSchedulingException(String)

Initializes a new instance of the TaskSchedulingException class with a specified error message.

Fields

VS_E_TASKSCHEDULERFAIL

VS specific error HRESULT code returned when a task couldn't be scheduled at the requested time.

Applies to