IUITestService.AddGlobalEventHandler Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Sub AddGlobalEventHandler ( _
eventType As EventType, _
eventSink As IEventNotify _
)
'Usage
Dim instance As IUITestService
Dim eventType As EventType
Dim eventSink As IEventNotify
instance.AddGlobalEventHandler(eventType, _
eventSink)
void AddGlobalEventHandler(
EventType eventType,
IEventNotify eventSink
)
void AddGlobalEventHandler(
EventType eventType,
IEventNotify^ eventSink
)
function AddGlobalEventHandler(
eventType : EventType,
eventSink : IEventNotify
)
abstract AddGlobalEventHandler :
eventType:EventType *
eventSink:IEventNotify -> unit
Parameters
- eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.EventType
- eventSink
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IEventNotify
.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.