ApplicationFailedException Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.RuntimeExceptionpublic class ApplicationFailedException : System.Management.Automation.RuntimeException[<System.Serializable>]
type ApplicationFailedException = class
    inherit RuntimeExceptiontype ApplicationFailedException = class
    inherit RuntimeExceptionPublic Class ApplicationFailedException
Inherits RuntimeException- Inheritance
- 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) |