Leadtools.Medical.Worklist.Wcf.Entities Namespace : MPPSQuery Class |
[DataContractAttribute()] public class MPPSQuery
'Declaration <DataContractAttribute()> Public Class MPPSQuery
'Usage Dim instance As MPPSQuery
public sealed class MPPSQuery
function Leadtools.Medical.Worklist.Wcf.Entities.MPPSQuery()
[DataContractAttribute()] public ref class MPPSQuery
Public Sub MPPSQueryTest() Try Dim query As New MPPSQuery() Dim results As WCFPPSInformation() = Nothing ' ' Find all modality performed procedure steps in progress ' query.PPSInfo = New WCFPPSInformation() With {.PerformedProcedureStepStatus = "IN PROGRESS"} results = _BrokerService.QueryMPPS(query) If results IsNot Nothing AndAlso results.Length > 0 Then For Each mpps As WCFPPSInformation In results Console.WriteLine(mpps.MPPSSOPInstanceUID) Console.WriteLine(mpps.Modality) Next End If Catch e As Exception Debug.WriteLine(e.Message) End Try End Sub
public void MPPSQueryTest() { try { MPPSQuery query = new MPPSQuery(); WCFPPSInformation[] results = null; // // Find all modality performed procedure steps in progress // query.PPSInfo = new WCFPPSInformation() { PerformedProcedureStepStatus = "IN PROGRESS" }; results = _BrokerService.QueryMPPS(query); if (results != null && results.Length > 0) { foreach (WCFPPSInformation mpps in results) { Console.WriteLine(mpps.MPPSSOPInstanceUID); Console.WriteLine(mpps.Modality); } } } catch (Exception e) { Debug.WriteLine(e.Message); } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2