Windows Dev Center

ScriptBlockToPowerShellNotSupportedException Constructor

Initializes a new instance of the ScriptBlockToPowerShellNotSupportedException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
ScriptBlockToPowerShellNotSupportedException ()Initializes a new instance of the ScriptBlockToPowerShellNotSupportedException class that is empty. This constructor is introduced by Windows PowerShell 2.0.
ScriptBlockToPowerShellNotSupportedException (SerializationInfo, StreamingContext)Initializes a new instance of the ScriptBlockToPowerShellNotSupportedException class that contains information that is read from the provided serialization information. This constructor is introduced by Windows PowerShell 2.0.
ScriptBlockToPowerShellNotSupportedException (String)Initializes a new instance of the ScriptBlockToPowerShellNotSupportedException class that contains an exception message. This constructor is introduced by Windows PowerShell 2.0.
ScriptBlockToPowerShellNotSupportedException (String, Exception)Initializes a new instance of the ScriptBlockToPowerShellNotSupportedException class that contains an exception message and the inner exception that caused this exception to be thrown. This constructor is introduced by Windows PowerShell 2.0.


Show:
© 2015 Microsoft