Export (0) Print
Expand All

ScriptRequiresException Properties

(see also Protected Properties)
public propertyCommandNameGets the name of the command that contains the #requires statement.
public propertyData  (Inherited from Exception)
public propertyErrorRecord  Gets the error record associated with the exception. (Inherited from RuntimeException)
public propertyHelpLink  (Inherited from Exception)
public propertyInnerException  (Inherited from Exception)
public propertyMessage  (Inherited from Exception)
public propertyMissingPSSnapInsGets the names of the missing snap-ins based on the #requires statement.
public propertyRequiresPSVersionGets the Windows PowerShell version that the script requires.
public propertyRequiresShellIdGets the identifier of the required shell as specified in the #requires statement.
public propertyRequiresShellPathGets the path to the shell specified in the #requires statement.
public propertySource  (Inherited from Exception)
public propertyStackTrace  Overridden. Gets the stack trace associated with the exception. (Inherited from Exception)
public propertyTargetSite  (Inherited from Exception)
public propertyWasThrownFromThrowStatement  Gets or sets a value that indicates whether the exception was thrown from a throw statement. (Inherited from RuntimeException)

  Name Description
protected property HResult  (Inherited from Exception)

Send comments about this topic to Microsoft.
© 2014 Microsoft