Partager via


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

Initializes a new instance of the ActionNotSupportedOnDisabledControlException class by using the provided parameter values and the default message.

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 ActionNotSupportedOnDisabledControlException(
    string objectName,
    string actionName,
    Exception innerException,
    ILastInvocationInfo lastInfo,
    string uiTestControl,
    Object exceptionSource
)
public:
ActionNotSupportedOnDisabledControlException(
    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 -> ActionNotSupportedOnDisabledControlException
public function ActionNotSupportedOnDisabledControlException(
    objectName : String, 
    actionName : String, 
    innerException : Exception, 
    lastInfo : ILastInvocationInfo, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parameters

  • 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 exception that caused the current exception.

  • uiTestControl
    Type: String

    The name of the control in the user interface.

  • exceptionSource
    Type: Object

    The object where the error occurred.

.NET Framework Security

See Also

Reference

ActionNotSupportedOnDisabledControlException Class

ActionNotSupportedOnDisabledControlException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace