DicomObjects.NET8 Documentation
DicomObjects.DicomWeb Namespace / WorkItemWebClient Class / Unsubscribe Method
The Subscribe Target Resource
The AETitle of Subscriber
The Workitem UID for matching, required if Resource is Workitem



In This Topic
    Unsubscribe Method
    In This Topic
    This transaction is used to stop the origin server from sending new Event Reports to the user agent and may also stop the origin server from subscribing the user agent to new Workitems.
    Syntax
    'Declaration
     
    
    Public Function Unsubscribe( _
       ByVal Resource As SubscribeTargetResource, _
       ByVal AETitle As String, _
       ByVal WorkItemUID As String _
    ) As HttpResponseMessage
    'Usage
     
    
    Dim instance As WorkItemWebClient
    Dim Resource As SubscribeTargetResource
    Dim AETitle As String
    Dim WorkItemUID As String
    Dim value As HttpResponseMessage
     
    value = instance.Unsubscribe(Resource, AETitle, WorkItemUID)

    Parameters

    Resource
    The Subscribe Target Resource
    AETitle
    The AETitle of Subscriber
    WorkItemUID
    The Workitem UID for matching, required if Resource is Workitem
    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