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

UnsubscribeFromFeature Method (WorkstationEventBroker)







A System.String which represents the Feature ID the component wants not to be notifed when published.
A callback function of type that matches the same callback used in the Leadtools.Medical.Workstation.Interfaces.IWorkstationEventBroker.SubscribeForFeature.
Allow components that subscribed using the Leadtools.Medical.Workstation.Interfaces.IWorkstationEventBroker.SubscribeForFeature to a feature to stop being notified when the feature is executed.
Syntax
public void UnsubscribeFromFeature( 
   string featureId,
   EventHandler<DataEventArgs<string>> onFeatureExecutedCallBack
)
'Declaration
 
Public Sub UnsubscribeFromFeature( _
   ByVal featureId As String, _
   ByVal onFeatureExecutedCallBack As EventHandler(Of DataEventArgs(Of String)) _
) 
'Usage
 
Dim instance As WorkstationEventBroker
Dim featureId As String
Dim onFeatureExecutedCallBack As EventHandler(Of DataEventArgs(Of String))
 
instance.UnsubscribeFromFeature(featureId, onFeatureExecutedCallBack)
public void UnsubscribeFromFeature( 
   string featureId,
   EventHandler<DataEventArgs<string>> onFeatureExecutedCallBack
)
 function Leadtools.Medical.Workstation.WorkstationEventBroker.UnsubscribeFromFeature( 
   featureId ,
   onFeatureExecutedCallBack 
)
public: void UnsubscribeFromFeature( 
   string* featureId,
   EventHandler<DataEventArgs<string*>*>* onFeatureExecutedCallBack
) 
public:
void UnsubscribeFromFeature( 
   string* featureId,
   EventHandler<DataEventArgs<string*>*>* onFeatureExecutedCallBack
) 

Parameters

featureId
A System.String which represents the Feature ID the component wants not to be notifed when published.
onFeatureExecutedCallBack
A callback function of type that matches the same callback used in the Leadtools.Medical.Workstation.Interfaces.IWorkstationEventBroker.SubscribeForFeature.
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.