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

Subscribe<T> Method (WorkstationEventBroker)







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.
Allow components to register to a typed events published by other components.
Syntax
public void Subscribe<T>( 
   EventHandler<T> onEventExecuted
)
where T: EventArgs
'Declaration
 
Public Sub Subscribe(Of T As EventArgs)( _
   ByVal onEventExecuted As EventHandler(Of T) _
) 
'Usage
 
Dim instance As WorkstationEventBroker
Dim onEventExecuted As EventHandler(Of T)
 
instance.Subscribe(Of T)(onEventExecuted)
public void Subscribe<T>( 
   EventHandler<T> onEventExecuted
)where T: ~Remove~
 function Leadtools.Medical.Workstation.WorkstationEventBroker.Subscribe( 
   onEventExecuted 
)
public: void Subscribe<T>( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs
public:
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

WorkstationEventBroker Class
WorkstationEventBroker Members

 

 


Products | Support | Contact Us | Copyright Notices

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