Compartilhar via


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

Inicializa uma nova instância de ActionNotSupportedOnDisabledControlException classe usando valores de parâmetro fornecido.

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

Sintaxe

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

Parâmetros

  • objectName
    Tipo: System.String
    O nome do objeto no qual a ação falhou.
  • innerException
    Tipo: System.Exception
    A exceção que causou a exceção atual.
  • uiTestControl
    Tipo: System.String
    O nome do controle na interface do usuário.
  • exceptionSource
    Tipo: System.Object
    O objeto onde ocorreu o erro.

Segurança do .NET Framework

Consulte também

Referência

ActionNotSupportedOnDisabledControlException Classe

Sobrecargas ActionNotSupportedOnDisabledControlException

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension