Share via


FailedToLaunchApplicationException Class

Definition

The exception that is thrown when Microsoft.VisualStudio.TestTools.UITest.Common.LaunchApplicationAction fails.

public ref class FailedToLaunchApplicationException : Microsoft::VisualStudio::TestTools::UITest::Extension::PlaybackFailureException
[System.Serializable]
public class FailedToLaunchApplicationException : Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
[<System.Serializable>]
type FailedToLaunchApplicationException = class
    inherit PlaybackFailureException
Public Class FailedToLaunchApplicationException
Inherits PlaybackFailureException
Inheritance
FailedToLaunchApplicationException
Attributes

Constructors

FailedToLaunchApplicationException()

Initializes a new instance of the FailedToLaunchApplicationException class.

FailedToLaunchApplicationException(SerializationInfo, StreamingContext)

Initializes a new instance of the FailedToLaunchApplicationException class for deserialization.

FailedToLaunchApplicationException(String, Exception)

Initializes a new instance of the FailedToLaunchApplicationException class by using the provided message and inner exception.

FailedToLaunchApplicationException(String)

Initializes a new instance of the FailedToLaunchApplicationException class by using the provided message.

Properties

Action

Gets or sets the name of the action.

(Inherited from PlaybackFailureException)
BasicMessage

Gets the basic error message.

(Inherited from UITestException)
DefaultMessage

Gets the default message that is set in configuration.

ErrorInfo

Gets or sets information about the UI test action that caused the exception.

(Inherited from UITestException)
ExceptionSource

Gets or sets the control that is the source of this exception.

(Inherited from UITestException)
HResult

Gets or sets the HRESULT for this exception.

(Inherited from UITestException)
Message

Gets the message that was provided when this exception object was created.

(Inherited from UITestException)
ObjectName

Gets or sets the source object name.

(Inherited from PlaybackFailureException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

[SECURITY CRITICAL] Populates the SerializationInfo by using the provided context information.

(Inherited from PlaybackFailureException)
SetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

(Inherited from UITestException)

Applies to