LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

Subscribe<T> Method (IWorkstationEventBroker)







The type of the event the component is interested in subscribing into.
A callback which will be called when the typed event is being published.
Allows components to register to a typed events published by other components.
Syntax
void Subscribe<T>( 
   EventHandler<T> onEventExecuted
)
where T: EventArgs
'Declaration
 
Sub Subscribe(Of T As EventArgs)( _
   ByVal onEventExecuted As EventHandler(Of T) _
) 
'Usage
 
Dim instance As IWorkstationEventBroker
Dim onEventExecuted As EventHandler(Of T)
 
instance.Subscribe(Of T)(onEventExecuted)
void Subscribe<T>( 
   EventHandler<T> onEventExecuted
)where T: ~Remove~
function Leadtools.Medical.Workstation.Interfaces.IWorkstationEventBroker.Subscribe( 
   onEventExecuted 
)
void Subscribe<T>( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs
void Subscribegeneric<typename T>
( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs

Parameters

onEventExecuted
A callback which will be called when the typed event is being published.

Type Parameters

T
The type of the event the component is interested in subscribing into.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkstationEventBroker Interface
IWorkstationEventBroker Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.