ActionNotSupportedOnDisabledControlException-Konstruktor (String, String, String, Exception, ILastInvocationInfo, String, Object)
Initialisiert eine neue Instanz der ActionNotSupportedOnDisabledControlException-Klasse mit den angegebenen Parameterwerten.
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 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
)
Parameter
- message
Typ: System.String
Die Fehlermeldung.
- objectName
Typ: System.String
Der Name des Objekts, bei dem die Aktion fehlgeschlagen ist.
- actionName
Typ: System.String
Der Name der fehlgeschlagenen Aktion.
- innerException
Typ: System.Exception
Die Ausnahme, die die aktuelle Ausnahme verursacht hat.
- lastInfo
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo
Informationen zum letzten Aufruf.
- uiTestControl
Typ: System.String
Der Name des Steuerelements auf der Benutzeroberfläche.
- exceptionSource
Typ: System.Object
Das Objekt, in dem der Fehler aufgetreten ist.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
ActionNotSupportedOnDisabledControlException Klasse