Delen via


ApplicationFailedException Class

Definition

Defines the exception that is thrown if a native command fails.

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

Constructors

ApplicationFailedException()

Initializes a new instance of the class ApplicationFailedException.

ApplicationFailedException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ApplicationFailedException class and defines the serialization information, and streaming context.

ApplicationFailedException(String, Exception)

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

ApplicationFailedException(String)

Initializes a new instance of the ApplicationFailedException 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