Windows Dev Center

HostException Class

The exception thrown when the host cannot complete an operation, such as when the host is checking whether there is any input available.


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

'Usage
Dim instance As HostException

[SerializableAttribute] 
public ref class HostException : public RuntimeException
/** @attribute SerializableAttribute() */ 
public class HostException extends RuntimeException
SerializableAttribute 
public class HostException extends 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.

 

Target Platforms


Show:
© 2015 Microsoft