Show / Hide Table of Contents

    Class ArgumentNullException

    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

    Inheritance
    Object
    Exception
    SystemException
    ArgumentException
    ArgumentNullException
    Inherited Members
    ArgumentException.Message
    ArgumentException.ParamName
    Exception.HResult
    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 ArgumentNullException : ArgumentException

    Constructors

    | Improve this Doc View Source

    ArgumentNullException()

    Initializes a new instance of the ArgumentNullException class.

    Declaration
    public ArgumentNullException()
    | Improve this Doc View Source

    ArgumentNullException(String)

    Initializes a new instance of the ArgumentNullException class with the name of the parameter that causes this exception.

    Declaration
    public ArgumentNullException(string argument)
    Parameters
    Type Name Description
    String argument

    The name of the parameter that caused the exception.

    | Improve this Doc View Source

    ArgumentNullException(String, String)

    Initializes an instance of the ArgumentNullException class with a specified error message and the name of the parameter that causes this exception.

    Declaration
    public ArgumentNullException(string paramName, string message)
    Parameters
    Type Name Description
    String paramName

    The name of the parameter that caused the exception.

    String message

    A message that describes the error.

    Extension Methods

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