ScriptBlockToPowerShellConversionForbiddenException Members

The exception that is thrown when a ScriptBlock object cannot be converted to a PowerShell object.

The following tables list the members exposed by the ScriptBlockToPowerShellConversionForbiddenException type.

Public Constructors

(see also Protected Constructors)

  Name Description
ScriptBlockToPowerShellConversionForbiddenException Overloaded. Initializes a new instance of the ScriptBlockToPowerShellConversionForbiddenException class. The variants of this constructor can initialize the class by itself, with an exception message, and more.

Top

Protected Constructors

  Name Description
ScriptBlockToPowerShellConversionForbiddenException Overloaded.  

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Data  (Inherited from Exception)
public property ErrorRecord  Gets the error record associated with the exception.(Inherited from RuntimeException)
public property HelpLink  (Inherited from Exception)
public property InnerException  (Inherited from Exception)
public property Message  (Inherited from Exception)
public property Source  (Inherited from Exception)
public property StackTrace  Gets the stack trace associated with the exception.(Inherited from RuntimeException)
public property TargetSite  (Inherited from Exception)

Top

Protected Properties

  Name Description
protected property HResult  (Inherited from Exception)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overloaded. (Inherited from Object)
public method GetBaseException  (Inherited from Exception)
public method GetHashCode  (Inherited from Object)
public method GetObjectData  (Inherited from RuntimeException)
public method GetType  (Inherited from Exception)
public methodstatic ReferenceEquals  (Inherited from Object)
public method ToString  (Inherited from Exception)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

ScriptBlockToPowerShellConversionForbiddenException Class
System.Management.Automation Namespace

Send comments about this topic to Microsoft.