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.String | reason |
OperationNotSupportedException(String, Exception)
Overloaded constructor.
Declaration
public OperationNotSupportedException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason for exception |
Exception | 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.Int32 | errorCode | |
System.String | reason |
OperationNotSupportedException(Int32, String, String)
Overloaded constructor
Declaration
public OperationNotSupportedException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned errorcode |
System.String | reason | exception message |
System.String | stackTrace | stacktrace |
OperationNotSupportedException(Int32, String, Exception)
Overloaded constructor.
Declaration
public OperationNotSupportedException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | |
System.String | reason | Reason for exception |
Exception | inner | Nested exception |
OperationNotSupportedException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected OperationNotSupportedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |