Constructor InvalidTaskEnumeratorException
InvalidTaskEnumeratorException()
Default constructor for InvalidTaskEnumeratorException
Declaration
public InvalidTaskEnumeratorException()
InvalidTaskEnumeratorException(String)
Overloaded constructor for InvalidTaskEnumeratorException that takes reason as an argument
Declaration
public InvalidTaskEnumeratorException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for the exception |
InvalidTaskEnumeratorException(String, Exception)
Overloaded constructor that takes two arguments 1-reason of Exception 2-inner exception
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)
Overloaded Constructor
Declaration
public InvalidTaskEnumeratorException(int errorcode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorcode | Assigned Errorcode |
InvalidTaskEnumeratorException(Int32, String)
Overloaded Constructor
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)
Overloaded Constructor
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 | stacktrace |
InvalidTaskEnumeratorException(Int32, String, Exception)
Overloaded Constructor
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 |