Megosztás a következőn keresztül:


HostException Class

Definition

Defines the exception thrown when the Host cannot complete an operation such as checking whether there is any input available.

public ref class HostException : System::Management::Automation::RuntimeException
[System.Serializable]
public class HostException : System.Management.Automation.RuntimeException
public class HostException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type HostException = class
    inherit RuntimeException
type HostException = class
    inherit RuntimeException
Public Class HostException
Inherits RuntimeException
Inheritance
Derived
Attributes

Constructors

HostException()

Initializes a new instance of the HostException class.

HostException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the HostException class and defines the SerializationInfo and the StreamingContext.

HostException(String, Exception, String, ErrorCategory)

Initializes a new instance of the HostException class and defines the error message, inner exception, the error ID, and the error category.

HostException(String, Exception)

Initializes a new instance of the HostException class and defines the error message and inner exception.

HostException(String)

Initializes a new instance of the HostException class and defines the error message.

Properties

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to