다음을 통해 공유


FailedToPerformActionOnHiddenControlException Constructor (String, String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided error message, object name, action name, inner exception, last invocation information, UI test control, and source.

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

Syntax

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

Parameters

  • message
    Type: String

    The error message.

  • objectName
    Type: String

    The name of the object where the action failed.

  • actionName
    Type: String

    The name of the action that failed.

  • innerException
    Type: Exception

    The original exception that caused the current exception.

  • uiTestControl
    Type: String

    A string representation of the UITestControl that is blocked.

  • exceptionSource
    Type: Object

    The object that is the source of the exception.

.NET Framework Security

See Also

Reference

FailedToPerformActionOnHiddenControlException Class

FailedToPerformActionOnHiddenControlException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

ILastInvocationInfo

UITestControl