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
- 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
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace