Constructor OperationNotSupportedException
OperationNotSupportedException()
default constructor.
Declaration
public OperationNotSupportedException()
OperationNotSupportedException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public OperationNotSupportedException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System. |
reason |
OperationNotSupportedException(String, Exception)
Overloaded constructor.
Declaration
public OperationNotSupportedException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System. |
reason | Reason for exception |
System. |
inner | Nested exception |
OperationNotSupportedException(Int32, String)
Overloaded constructor, takes the reason as parameter.
Declaration
public OperationNotSupportedException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | |
System. |
reason |
OperationNotSupportedException(Int32, String, String)
Overloaded constructor
Declaration
public OperationNotSupportedException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | Assigned errorcode |
System. |
reason | exception message |
System. |
stackTrace | stacktrace |
OperationNotSupportedException(Int32, String, Exception)
Overloaded constructor.
Declaration
public OperationNotSupportedException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | |
System. |
reason | Reason for exception |
System. |
inner | Nested exception |
OperationNotSupportedException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected OperationNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |