UITechnologyElement.InvokeProgrammaticAction Method
Performs programmatic action by using the provided option.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Sub InvokeProgrammaticAction ( _
programmaticActionOption As ProgrammaticActionOption _
)
public abstract void InvokeProgrammaticAction(
ProgrammaticActionOption programmaticActionOption
)
public:
virtual void InvokeProgrammaticAction(
ProgrammaticActionOption programmaticActionOption
) abstract
abstract InvokeProgrammaticAction :
programmaticActionOption:ProgrammaticActionOption -> unit
public abstract function InvokeProgrammaticAction(
programmaticActionOption : ProgrammaticActionOption
)
Parameters
programmaticActionOption
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ProgrammaticActionOptionA member of the ProgrammaticActionOption enumeration.
Implements
IUITechnologyElement.InvokeProgrammaticAction(ProgrammaticActionOption)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Throws System.NotSupportedException if the action is not supported. |
.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.