Compartilhar via


Construtor ActionNotSupportedOnDisabledControlException (String, Exception, 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, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public ActionNotSupportedOnDisabledControlException(
    string message,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
ActionNotSupportedOnDisabledControlException(
    String^ message, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> ActionNotSupportedOnDisabledControlException
public function ActionNotSupportedOnDisabledControlException(
    message : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parâmetros

  • 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