다음을 통해 공유


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)

Syntax

'Declaration
Public Sub New ( _
    objectName As String, _
    actionName As String, _
    innerException As Exception, _
    lastInfo As ILastInvocationInfo, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public PlaybackFailureException(
    string objectName,
    string actionName,
    Exception innerException,
    ILastInvocationInfo lastInfo,
    string uiTestControl,
    Object exceptionSource
)
public:
PlaybackFailureException(
    String^ objectName, 
    String^ actionName, 
    Exception^ innerException, 
    ILastInvocationInfo^ lastInfo, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        objectName:string * 
        actionName:string * 
        innerException:Exception * 
        lastInfo:ILastInvocationInfo * 
        uiTestControl:string * 
        exceptionSource:Object -> PlaybackFailureException
public function PlaybackFailureException(
    objectName : String, 
    actionName : String, 
    innerException : Exception, 
    lastInfo : ILastInvocationInfo, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parameters

  • objectName
    Type: String

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

  • actionName
    Type: String

    The name of the UI test action that failed.

  • innerException
    Type: Exception

    The exception that caused the current exception.

  • uiTestControl
    Type: String

    The name of the test control.

  • exceptionSource
    Type: Object

    A Object that represents the source of the exception.

.NET Framework Security

See Also

Reference

PlaybackFailureException Class

PlaybackFailureException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

ILastInvocationInfo