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

Unsubscribe<T> Method (IWorkstationEventBroker)







The type of the event the component is wants to unsubscribe from.
A callback that is used when calling the Subscribe<T> method.
Allows components to un-register from a typed events registered with the Subscribe<T> method.
Syntax
void Unsubscribe<T>( 
   EventHandler<T> onEventExecuted
)
where T: EventArgs
'Declaration
 
Sub Unsubscribe(Of T As EventArgs)( _
   ByVal onEventExecuted As EventHandler(Of T) _
) 
'Usage
 
Dim instance As IWorkstationEventBroker
Dim onEventExecuted As EventHandler(Of T)
 
instance.Unsubscribe(Of T)(onEventExecuted)
void Unsubscribe<T>( 
   EventHandler<T> onEventExecuted
)where T: ~Remove~
function Leadtools.Medical.Workstation.Interfaces.IWorkstationEventBroker.Unsubscribe( 
   onEventExecuted 
)
void Unsubscribe<T>( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs
void Unsubscribegeneric<typename T>
( 
   EventHandler<T*>* onEventExecuted
) 
where T: EventArgs

Parameters

onEventExecuted
A callback that is used when calling the Subscribe<T> method.

Type Parameters

T
The type of the event the component is wants to unsubscribe from.
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.