class ArgumentNullException

in global :: System

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


public ArgumentNullException( string paramName )

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

  • paramName The name of the parameter that caused the exception.

public ArgumentNullException( string message, Exception innerException )

Initializes a new instance of the class with a specified error message and the exception that is the cause of this exception.

  • message The error message that explains the reason for this exception.
  • innerException The exception that is the cause of the current exception, or a null reference ( in Visual Basic) if no inner exception is specified.

public ArgumentNullException( string paramName, string message )

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

  • paramName The name of the parameter that caused the exception.
  • message A message that describes the error.

public ArgumentNullException( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string StackTrace { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public int HResult { get; set; }

😔 No documentation found.

public string ToString( )

😔 No documentation found.

😔 No documentation found.

public Exception InnerException { get; }

😔 No documentation found.

public Exception GetBaseException( )

😔 No documentation found.

public IDictionary Data { get; }

😔 No documentation found.

public string ParamName { get; }

😔 No documentation found.

public string Message { get; }

😔 No documentation found.

public void GetObjectData( SerializationInfo info, StreamingContext context )

😔 No documentation found.

public static void ThrowIfNull( void* argument, string paramName = null )

😔 No documentation found.

public string Source { get; set; }

😔 No documentation found.

public static void ThrowIfNull( object argument, string paramName = null )

😔 No documentation found.