public class NotImplementedException : SystemException
Object
Exception
SystemException
NotImplementedException
mscorlib
BCL
Represents the error that occurs when a requested operation is not implemented for a given type.
[Note: A number of the types and constructs, specified elsewhere in this Standard, are not required of CLI implementations that conform only to the Kernel Profile. For example, the floating-point feature set consists of the floating-point data types Singleand Double. If support for these is omitted from an implementation, any attempt to reference a signature that includes the floating-point data types results in an exception of type NotImplementedException .]
System Namespace
NotImplementedException Constructors
NotImplementedException() Constructor
NotImplementedException(System.String) Constructor
NotImplementedException(System.String, System.Exception) Constructor
public NotImplementedException();
Constructs and initializes a new instance of the NotImplementedException class.
This constructor initializes the System.NotImplementedException.Message property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.The System.NotImplementedException.InnerException property is initialized to
null
.
System.NotImplementedException Class, System Namespace
public NotImplementedException(string message);
Constructs and initializes a new instance of the NotImplementedException class.
- message
- A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
This constructor initializes the System.NotImplementedException.Message property of the new instance using message. If message isnull
, the System.NotImplementedException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments. The System.NotImplementedException.InnerException property is initialized tonull
.
System.NotImplementedException Class, System Namespace
public NotImplementedException(string message, Exception innerException);
Constructs and initializes a new instance of the NotImplementedException class.
- message
- A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
- innerException
- An instance of Exception that is the cause of the current Exception. If innerException is non-null, then the current Exception was raised in a catch block handling innerException .
This constructor initializes the System.NotImplementedException.Message property of the new instance using message, and the System.NotImplementedException.InnerException property using innerException. If message isnull
, the System.NotImplementedException.Message property is initialized to the system-supplied message provided by the constructor that takes no arguments.[Note: For information on inner exceptions, see System.Exception.InnerException.]
System.NotImplementedException Class, System Namespace