- 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.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7