UnsubscribeFromFeature Method

Summary
Allows components that are subscribers using the SubscribeForFeature to a feature to stop being notified when the feature is executed.
Syntax
C#
C++/CLI
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 a type that matches the same callback used in the SubscribeForFeature.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.