Name
NotSupportedException
Synopsis
This exception indicates an attempt to use an unsupported method.
For example, if you try to seek on a stream
that is based on unidirectional input — for example, a standard input
stream from a console utility such as sort.exe
— this exception could be thrown.
public class NotSupportedException : SystemException { // Public Constructors public method NotSupportedException(); public method NotSupportedException(string message); public method NotSupportedException(string message, Exception innerException); // Protected Constructors protected method NotSupportedException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); }
Hierarchy
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→NotSupportedException
Subclasses
PlatformNotSupportedException
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.