AutomationProviderRequestedEventArgs AutomationProviderRequestedEventArgs AutomationProviderRequestedEventArgs AutomationProviderRequestedEventArgs Class

Definition

Provides the arguments returned by an automation provider request event callback.

public : sealed class AutomationProviderRequestedEventArgs : IAutomationProviderRequestedEventArgs, ICoreWindowEventArgs
public sealed class AutomationProviderRequestedEventArgs : IAutomationProviderRequestedEventArgs, ICoreWindowEventArgs
Public NotInheritable Class AutomationProviderRequestedEventArgs Implements IAutomationProviderRequestedEventArgs, ICoreWindowEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Properties

AutomationProvider AutomationProvider AutomationProvider AutomationProvider

Gets or sets the automation provider object returned by the request event callback.

public : Platform::Object AutomationProvider { get; set; }
public object AutomationProvider { get; set; }
Public ReadWrite Property AutomationProvider As object
var object = automationProviderRequestedEventArgs.automationProvider;
automationProviderRequestedEventArgs.automationProvider = object;
Value
Platform::Object object object object

The automation provider object returned by the callback.

Handled Handled Handled Handled

Gets or sets whether the automation provider request event has been handled.

public : Platform::Boolean Handled { get; set; }
public bool Handled { get; set; }
Public ReadWrite Property Handled As bool
var bool = automationProviderRequestedEventArgs.handled;
automationProviderRequestedEventArgs.handled = bool;
Value
Platform::Boolean bool bool bool

True if the automation provider request event has been handled; false if it has not.