ScriptRequiresException Properties

ScriptRequiresException Properties

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubpropertyCommandName

Gets the name of the command that contains the #requires statement.

System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyErrorRecord

Gets the error record associated with the exception.(Inherited from RuntimeException.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertyMissingPSSnapIns

Gets the names of the missing snap-ins based on the #requires statement.

System_CAPS_pubpropertyRequiresPSVersion

Gets the Windows PowerShell version that the script requires.

System_CAPS_pubpropertyRequiresShellId

Gets the identifier of the required shell as specified in the #requires statement.

System_CAPS_pubpropertyRequiresShellPath

Gets the path to the shell specified in the #requires statement.

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

System_CAPS_pubpropertyWasThrownFromThrowStatement

Gets or sets a value that indicates whether the exception was thrown from a throw statement.(Inherited from RuntimeException.)

Return to top

Community Additions

ADD
Show:
© 2016 Microsoft