PSSnapInException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines exception thrown when a PSSnapin was not able to load into current runspace.
public ref class PSSnapInException : System::Management::Automation::RuntimeException
[System.Serializable]
public class PSSnapInException : System.Management.Automation.RuntimeException
public class PSSnapInException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type PSSnapInException = class
inherit RuntimeException
type PSSnapInException = class
inherit RuntimeException
Public Class PSSnapInException
Inherits RuntimeException
- Inheritance
- Attributes
Constructors
PSSnapInException() |
Initiate an instance of PSSnapInException. |
PSSnapInException(SerializationInfo, StreamingContext) |
Obsolete.
Initiate a PSSnapInException instance. |
PSSnapInException(String) |
Initiate an instance of PSSnapInException. |
PSSnapInException(String, Exception) |
Initiate an instance of PSSnapInException. |
Properties
ErrorRecord |
Gets error record embedded in this exception. |
Message |
Gets message for this exception. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Get object data from serialization information. |
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |