Updated: April 27, 2016
Applies To: Windows PowerShell
The exception thrown when the host cannot complete an operation, such as when the host is checking whether there is any input available.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Creates a newobject that is empty.
Creates a newobject that contains information that is read from the provided serialization information.
Creates a newobject that contains an exception message.
Creates a newobject that contains an exception message and the inner exception that caused this exception to be thrown.
|HostException(String^, Exception^, String^, ErrorCategory)|
Creates a newobject that contains an exception message, an inner exception, an error instance identifier, and an error category identifier.
Gets the error record associated with the exception.(Inherited from RuntimeException.)
Gets or sets a value that indicates whether the exception was thrown from a throw statement.(Inherited from RuntimeException.)
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.