←Select platform

ContextManagementRegistryService Class

Summary

Used by applications to locate CCOW web components.

Syntax

C#
VB
C++
public class ContextManagementRegistryService 
Public Class ContextManagementRegistryService  
public ref class ContextManagementRegistryService  

Example

C#
VB
using Leadtools.Ccow; 
using Leadtools.Ccow.Services; 
 
private ContextManagementRegistryService service; 
 
public void StartService() 
{ 
   // Create ContextManagementRegistryService 
   if (service == null) 
      service = new ContextManagementRegistryService(); 
 
   if (!service.IsStarted) 
   { 
      // Start the service to listen for Locate CCOW components requests 
      service.Start(); 
   } 
} 
 
public void StopService() 
{ 
   if (service != null && service.IsStarted) 
      service.Stop(); 
} 
Imports Leadtools.Ccow 
Imports Leadtools.Ccow.Services 
 
Private service As ContextManagementRegistryService 
 
Public Sub StartService() 
   ' Create ContextManagementRegistryService 
   If service Is Nothing Then 
      service = New ContextManagementRegistryService() 
   End If 
 
   If Not service.IsStarted Then 
      ' Start the service to listen for Locate CCOW components requests 
      service.Start() 
   End If 
End Sub 
 
Public Sub StopService() 
   If service IsNot Nothing AndAlso service.IsStarted Then 
      service.Stop() 
   End If 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ccow.Services Assembly