Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlaybackFailureException Constructor (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.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public:
PlaybackFailureException(
	String^ objectName,
	String^ actionName,
	Exception^ innerException,
	ILastInvocationInfo^ lastInfo,
	String^ uiTestControl,
	Object^ exceptionSource
)

Parameters

objectName
Type: System::String^

The name of the UI object on which the UI test action failed.

actionName
Type: System::String^

The name of the UI test action that failed.

innerException
Type: System::Exception^

The exception that caused the current exception.

lastInfo
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::ILastInvocationInfo^

An ILastInvocationInfo object that has playback information about the last action invocation.

uiTestControl
Type: System::String^

The name of the test control.

exceptionSource
Type: System::Object^

A Object that represents the source of the exception.

Return to top
Show: