SilverlightTestPlugin.AddGlobalEventHandler Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This member overrides UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify).

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
Public Overrides Function AddGlobalEventHandler ( _
    eventType As UITestEventType, _
    eventSink As IUITestEventNotify _
) As Boolean
public override bool AddGlobalEventHandler(
    UITestEventType eventType,
    IUITestEventNotify eventSink
)
public:
virtual bool AddGlobalEventHandler(
    UITestEventType eventType, 
    IUITestEventNotify^ eventSink
) override
abstract AddGlobalEventHandler : 
        eventType:UITestEventType * 
        eventSink:IUITestEventNotify -> bool 
override AddGlobalEventHandler : 
        eventType:UITestEventType * 
        eventSink:IUITestEventNotify -> bool 
public override function AddGlobalEventHandler(
    eventType : UITestEventType, 
    eventSink : IUITestEventNotify
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

SilverlightTestPlugin Class

Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace