TaskTimeoutException Constructor
TaskTimeoutException(String, Task)
Initializes a new instance of the TaskTimeoutException class with a specified error message and the task that timed out.
Declaration
public TaskTimeoutException(string message, Task task)Parameters
| String | message | The message that describes the error. | 
| Task | task | The task that timed out. | 
TaskTimeoutException()
Initializes a new instance of the TaskTimeoutException.
Declaration
public TaskTimeoutException()Remarks
This constructor method is provided to comply with CA1032 and ensure that the exception class is a good .NET citizen. It is not meant to be used in code.
TaskTimeoutException(String)
Initializes a new instance of the TaskTimeoutException with a specified error message.
Declaration
public TaskTimeoutException(string message)Parameters
| String | message | The message that describes the error. | 
Remarks
This constructor method is provided to comply with CA1032 and ensure that the exception class is a good .NET citizen. It is not meant to be used in code.
TaskTimeoutException(String, Exception)
Initializes a new instance of the TaskTimeoutException with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public TaskTimeoutException(string message, Exception innerException)Parameters
| String | message | The message that describes the error. | 
| Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. | 
Remarks
This constructor method is provided to comply with CA1032 and ensure that the exception class is a good .NET citizen. It is not meant to be used in code.