Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2014 Microsoft