IInvokeProvider.Invoke Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sends a request to activate a control and initiate its single, unambiguous action.
Namespace: System.Windows.Automation.Provider
Assembly: System.Windows (in System.Windows.dll)
Syntax
Sub Invoke
void Invoke()
Remarks
Invoke is intended as an asynchronous call and must return immediately without blocking. This behavior is particularly critical for controls that, directly or indirectly, launch a modal dialog when invoked. Any UI automation client that instigates the event remains blocked until the modal dialog is closed.
Providers should raise ElementNotEnabledException for cases where an Invoke action is performed but the control is not enabled (whether by a false value of IsEnabled value on a true control, or by equivalent control state for other UI elements or custom elements.)
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone