RuntimeException Members

Serves as a base class for Windows PowerShell exceptions that might occur while a command is running.

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

(see also Protected Constructors)
 NameDescription
 RuntimeExceptionOverloaded. Initializes a new instance of the RuntimeException class. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more.
Top

  Name Description
  RuntimeException Overloaded. Initializes a new instance of the RuntimeException class. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more.
Top

(see also Protected Properties)
 NameDescription
public propertyData  (Inherited from Exception)
public propertyErrorRecordGets the error record associated with the exception.
public propertyHelpLink  (Inherited from Exception)
public propertyInnerException  (Inherited from Exception)
public propertyMessage  (Inherited from Exception)
public propertySource  (Inherited from Exception)
public propertyStackTraceOverridden. Gets the stack trace associated with the exception.
public propertyTargetSite  (Inherited from Exception)
public propertyWasThrownFromThrowStatementGets or sets a value that indicates whether the exception was thrown from a throw statement.
Top

  Name Description
protected property HResult  (Inherited from Exception)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetBaseException  (Inherited from Exception)
public methodGetHashCode  (Inherited from Object)
public methodGetObjectDataOverridden. Provides serialization functionality for the ISerializable interface.
public methodGetType  (Inherited from Exception)
public methodToString  Overridden. (Inherited from Object)
Top

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

  Name Description
protected event SerializeObjectState  (Inherited from Exception)
Top


Show:
© 2014 Microsoft