Show / Hide Table of Contents

    Class NotSupportedException

    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.

    Inheritance
    Object
    Exception
    SystemException
    NotSupportedException
    PlatformNotSupportedException
    Inherited Members
    Exception.HResult
    Exception.Message
    Exception.InnerException
    Exception.StackTrace
    Exception.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: System
    Assembly: mscorlib.dll
    Syntax
    public class NotSupportedException : SystemException

    Constructors

    | Improve this Doc View Source

    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.

    Declaration
    public NotSupportedException()
    | Improve this Doc View Source

    NotSupportedException(String)

    Initializes a new instance of the NotSupportedException class with a specified error message.

    Declaration
    public NotSupportedException(string message)
    Parameters
    Type Name Description
    String 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.

    | Improve this Doc View Source

    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.

    Declaration
    public NotSupportedException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message

    The error message that explains the reason for the exception.

    Exception innerException

    The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX