NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NotSupportedException Class

Represents the exception that is thrown to indicate that a method is not supported.

Object
   Exception
      SystemException
         NotSupportedException

[Visual Basic]
Public Class NotSupportedException
   Inherits SystemException
[C#]
public class NotSupportedException : SystemException
[C++]
public __gc class NotSupportedException : public SystemException
[JScript]
public class NotSupportedException extends SystemException

Remarks

The NotSupportedException is the exception class that is thrown for methods that should be implemented on subclasses.

A class may implement an interface and rather than provide support for a particular method, the implementation may simply throw the NotSupportedException exception.

The NotSupportedException is thrown by a number of the System.IO Namespace classes when there is an attempt to read, seek, or write to a stream that does not support this functionality. For example, after a call to Close the various write methods will throw the NotSupportedException.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

NotSupportedException Members | System Namespace