Sdílet prostřednictvím


PSSnapInException Class

Definition

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
PSSnapInException
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)

Applies to