DicomObjects.NET8 Documentation
DicomObjects.DicomWeb Namespace / IWorkItemWebClient Interface / ChangeState Method
The encoding to use (native/json/xml)



In This Topic
    ChangeState Method (IWorkItemWebClient)
    In This Topic
    Transaction to change the state of a Workitem. It corresponds to the UPS DIMSE N-ACTION operation "Change UPS State". State changes are used to claim ownership, complete, or cancel a Workitem.
    Syntax
    'Declaration
     
    
    Function ChangeState( _
       ByVal State As UPSState, _
       ByVal TransactionUID As String, _
       Optional ByVal Encoding As DicomDataEncoding _
    ) As HttpResponseMessage
    'Usage
     
    
    Dim instance As IWorkItemWebClient
    Dim State As UPSState
    Dim TransactionUID As String
    Dim Encoding As DicomDataEncoding
    Dim value As HttpResponseMessage
     
    value = instance.ChangeState(State, TransactionUID, Encoding)

    Parameters

    State
    TransactionUID
    Encoding
    The encoding to use (native/json/xml)
    Requirements

    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

    See Also