PlaybackFailureException Class

Definition

Represents an exception that is thrown when a Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction fails.

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

Constructors

PlaybackFailureException()

Initializes a new instance of the PlaybackFailureException class.

PlaybackFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the PlaybackFailureException class for deserialization.

PlaybackFailureException(String)

Initializes a new instance of the PlaybackFailureException class by using the given message.

PlaybackFailureException(String, Exception)

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

PlaybackFailureException(String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the PlaybackFailureException class by using the default message, as well as the provided object name, action name, inner exception, last action information, control, and source of the exception.

PlaybackFailureException(String, String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the PlaybackFailureException class by using the provided message, object name, action name, inner exception, last action information, test control name, and exception source object.

Properties

Action

Gets or sets the name of the action.

BasicMessage

Gets the basic error message.

(Inherited from UITestException)
DefaultMessage

Gets the default message for this kind of exception.

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.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

SetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

(Inherited from UITestException)

Applies to