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^, 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.

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

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

Parameters

message
Type: System::String^

The error message.

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 objectthat has playback information about invoking the last action.

uiTestControl
Type: System::String^

The name of the

exceptionSource
Type: System::Object^

A Object that represents the source of the exception.

Return to top
Show: