- sessionProxy
- The IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
- requestDataSet
- The Leadtools.Dicom.DicomDataSet which is received with the client request.
Visual Basic (Declaration) | |
---|---|
Overloads Public Overridable Function CreateTypedCommand(Of T As DicomCommand)( _ ByVal sessionProxy As IDicomCommandClientSessionProxy, _ ByVal requestDataSet As DicomDataSet _ ) As T |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomCommandFactory Dim sessionProxy As IDicomCommandClientSessionProxy Dim requestDataSet As DicomDataSet Dim value As T value = instance.CreateTypedCommand(Of T)(sessionProxy, requestDataSet) |
C# | |
---|---|
public virtual T CreateTypedCommand<T>( IDicomCommandClientSessionProxy sessionProxy, DicomDataSet requestDataSet )where T: DicomCommand |
C++/CLI | |
---|---|
public: virtual T^ CreateTypedCommandgeneric<typename T> ( IDicomCommandClientSessionProxy^ sessionProxy, DicomDataSet^ requestDataSet ) where T: DicomCommand |
Parameters
- sessionProxy
- The IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
- requestDataSet
- The Leadtools.Dicom.DicomDataSet which is received with the client request.
Type Parameters
- T
- The type of the returned Leadtools.Dicom.Scp.Command.DicomCommand. This type should be inherited from a Leadtools.Dicom.Scp.Command.DicomCommand.
Return Value
Returns the created Leadtools.Dicom.Scp.Command.DicomCommand.This method will try to create a Leadtools.Dicom.Scp.Command.DicomCommand with the given generic type. It will also pass the provided sessionProxy and requestDataSet to the command constructor.
If the method fails to create the command it will throw an exception.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7