This documentation is archived and is not being maintained.

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.

Show: