PSArgumentNullException PSArgumentNullException PSArgumentNullException Class

Definition

This is a wrapper for exception class ArgumentNullException which provides additional information via IContainsErrorRecord.

public class PSArgumentNullException : ArgumentNullException, System.Management.Automation.IContainsErrorRecord
type PSArgumentNullException = class
    inherit ArgumentNullException
    interface IContainsErrorRecord
Public Class PSArgumentNullException
Inherits ArgumentNullException
Implements IContainsErrorRecord
Inheritance
PSArgumentNullExceptionPSArgumentNullExceptionPSArgumentNullException
Implements

Remarks

Instances of this exception class are usually generated by the
Monad Engine.  It is unusual for code outside the Monad Engine
to create an instance of this class.

Constructors

PSArgumentNullException() PSArgumentNullException() PSArgumentNullException()

Initializes a new instance of the PSArgumentNullException class.

PSArgumentNullException(String) PSArgumentNullException(String) PSArgumentNullException(String)

Initializes a new instance of the PSArgumentNullException class.

PSArgumentNullException(SerializationInfo, StreamingContext) PSArgumentNullException(SerializationInfo, StreamingContext) PSArgumentNullException(SerializationInfo, StreamingContext)

Initializes a new instance of the PSArgumentNullException class using data serialized via ISerializable

PSArgumentNullException(String, Exception) PSArgumentNullException(String, Exception) PSArgumentNullException(String, Exception)

Initializes a new instance of the PSArgumentNullException class.

PSArgumentNullException(String, String) PSArgumentNullException(String, String) PSArgumentNullException(String, String)

Initializes a new instance of the PSArgumentNullException class.

Properties

ErrorRecord ErrorRecord ErrorRecord

Additional information about the error

Message Message Message

see Message

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

Applies to