Class NotSupportedException
- Namespace
- System
- Assembly
- mscorlib.dll
The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.
public class NotSupportedException : SystemException
- Inheritance
-
NotSupportedException
- Derived
- Inherited Members
- Extension Methods
Constructors
NotSupportedException()
Initializes a new instance of the NotSupportedException class, setting the Message property of the new instance to a system-supplied message that describes the error. This message takes into account the current system culture.
public NotSupportedException()
NotSupportedException(string)
Initializes a new instance of the NotSupportedException class with a specified error message.
public NotSupportedException(string message)
Parameters
message
stringA 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.
NotSupportedException(string, Exception)
Initializes a new instance of the NotSupportedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public NotSupportedException(string message, Exception innerException)