Constructor InvalidTaskEnumeratorException
InvalidTaskEnumeratorException()
The default constructor of class InvalidTaskEnumeratorException
Declaration
public InvalidTaskEnumeratorException()
InvalidTaskEnumeratorException(String)
An overloaded constructor that takes reason as a parameter.
Declaration
public InvalidTaskEnumeratorException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason of the exception. |
InvalidTaskEnumeratorException(String, Exception)
An overloaded constructor that takes reason and nested exception as parameters.
Declaration
public InvalidTaskEnumeratorException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason of the exception |
System.Exception | inner | inner exception because of which this exception occurs |
InvalidTaskEnumeratorException(Int32)
An overloaded constructor that takes errorcode as a parameter.
Declaration
public InvalidTaskEnumeratorException(int errorcode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorcode | Assigned errorcode. |
InvalidTaskEnumeratorException(Int32, String)
An overloaded constructor that takes errorcode and exception message as parameters.
Declaration
public InvalidTaskEnumeratorException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode. |
System.String | reason | Exception message. |
InvalidTaskEnumeratorException(Int32, String, String)
An overloaded constructor that takes errorcode, stacktrace and exception message as parameters.
Declaration
public InvalidTaskEnumeratorException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode. |
System.String | reason | Exception message. |
System.String | stackTrace | A string representation of the immediate frames on the call stack. |
InvalidTaskEnumeratorException(Int32, String, Exception)
An overloaded constructor that takes errorcode, nested exception and exception message as parameters.
Declaration
public InvalidTaskEnumeratorException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode. |
System.String | reason | Exception message. |
System.Exception | inner | Nested exception. |