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. |
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. |
reason | reason of the exception |
System. |
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. |
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. |
errorCode | Assigned errorcode. |
System. |
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. |
errorCode | Assigned errorcode. |
System. |
reason | Exception message. |
System. |
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. |
errorCode | Assigned errorcode. |
System. |
reason | Exception message. |
System. |
inner | Nested exception. |