LEADTOOLS Medical (Leadtools.Dicom.Scp assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RegisterCommandInitializationService Method
See Also 
Leadtools.Dicom.Scp.Command Namespace > DicomCommandFactory Class : RegisterCommandInitializationService Method



commandType
The System.Type of the command which will be passed to the provided service when it is created.
service
An object of type Leadtools.Dicom.Scp.Command.Configuration.IInitializationService which will be called when a Leadtools.Dicom.Scp.Command.DicomCommand of the provided commandType is created.
commandType
The System.Type of the command which will be passed to the provided service when it is created.
service
An object of type Leadtools.Dicom.Scp.Command.Configuration.IInitializationService which will be called when a Leadtools.Dicom.Scp.Command.DicomCommand of the provided commandType is created.
Register a Leadtools.Dicom.Scp.Command.Configuration.IInitializationService object to be called when a command if the provided type is created.

Syntax

Visual Basic (Declaration) 
Public Shared Sub RegisterCommandInitializationService( _
   ByVal commandType As Type, _
   ByVal service As IInitializationService _
) 
Visual Basic (Usage)Copy Code
Dim commandType As Type
Dim service As IInitializationService
 
DicomCommandFactory.RegisterCommandInitializationService(commandType, service)
C# 
public static void RegisterCommandInitializationService( 
   Type commandType,
   IInitializationService service
)
C++/CLI 
public:
static void RegisterCommandInitializationService( 
   Type^ commandType,
   IInitializationService^ service
) 

Parameters

commandType
The System.Type of the command which will be passed to the provided service when it is created.
service
An object of type Leadtools.Dicom.Scp.Command.Configuration.IInitializationService which will be called when a Leadtools.Dicom.Scp.Command.DicomCommand of the provided commandType is created.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Scp requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features