FailedToPerformActionOnBlockedControlException Constructor (String, String, Exception, ILastInvocationInfo, String, Object)
Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided control 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 ( _
objectName As String, _
actionName As String, _
innerException As Exception, _
lastInfo As ILastInvocationInfo, _
uiTestControl As String, _
exceptionSource As Object _
)
public FailedToPerformActionOnBlockedControlException(
string objectName,
string actionName,
Exception innerException,
ILastInvocationInfo lastInfo,
string uiTestControl,
Object exceptionSource
)
public:
FailedToPerformActionOnBlockedControlException(
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 -> FailedToPerformActionOnBlockedControlException
public function FailedToPerformActionOnBlockedControlException(
objectName : String,
actionName : String,
innerException : Exception,
lastInfo : ILastInvocationInfo,
uiTestControl : String,
exceptionSource : Object
)
Parameters
objectName
Type: StringThe name of the object where the action failed.
actionName
Type: StringThe name of the action that failed.
innerException
Type: ExceptionThe original exception that caused the current exception.
lastInfo
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfoAn ILastInvocationInfo object.
uiTestControl
Type: StringA string representation of the UITestControl that is blocked.
exceptionSource
Type: ObjectThe object that is the source of the exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
FailedToPerformActionOnBlockedControlException Class
FailedToPerformActionOnBlockedControlException Overload