DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb.WebClient 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 System.String, _
       ByVal WorkItemUID As System.String _
    ) As System.Net.Http.HttpResponseMessage
    'Usage
     
    
    Dim instance As WorkItemWebClient
    Dim Resource As SubscribeTargetResource
    Dim AETitle As System.String
    Dim WorkItemUID As System.String
    Dim value As System.Net.Http.HttpResponseMessage
     
    value = instance.Unsubscribe(Resource, AETitle, WorkItemUID)
    public System.Net.Http.HttpResponseMessage Unsubscribe( 
       SubscribeTargetResource Resource,
       System.string AETitle,
       System.string WorkItemUID
    )
    public function Unsubscribe( 
        Resource: SubscribeTargetResource;
        AETitle: System.String;
        WorkItemUID: System.String
    ): System.Net.Http.HttpResponseMessage; 
    public function Unsubscribe( 
       Resource : SubscribeTargetResource,
       AETitle : System.String,
       WorkItemUID : System.String
    ) : System.Net.Http.HttpResponseMessage;
    public: System.Net.Http.HttpResponseMessage* Unsubscribe( 
       SubscribeTargetResource Resource,
       System.string* AETitle,
       System.string* WorkItemUID
    ) 
    public:
    System.Net.Http.HttpResponseMessage^ Unsubscribe( 
       SubscribeTargetResource Resource,
       System.String^ AETitle,
       System.String^ 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: .NET CLR 4.8 or higher

    See Also