PSSnapInException Class

Definition

Defines exception thrown when a PSSnapin was not able to load into current runspace.

public class PSSnapInException : System.Management.Automation.RuntimeException
Inheritance

Inherited Members

System.Management.Automation.RuntimeException

Constructors

PSSnapInException()

Initiate an instance of PSSnapInException.

PSSnapInException(String)

Initiate an instance of PSSnapInException.

PSSnapInException(SerializationInfo, StreamingContext)

Initiate a PSSnapInException instance.

PSSnapInException(String, Exception)

Initiate an instance of PSSnapInException.

Properties

ErrorRecord

Gets error record embedded in this exception.

Message

Gets message for this exception.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Get object data from serizliation information.