DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb.WebClient Namespace / WorkItemWebClient Class / SuspendGlobalSubscription Method
The Subscribe Target Resource
The AETitle of Subscriber






In This Topic
    SuspendGlobalSubscription Method
    In This Topic
    This transaction is used to stop the origin server from automatically subscribing the User-Agent to new Workitems. This does not delete any existing subscriptions to specific Workitems.
    Syntax
    'Declaration
     
    
    Public Function SuspendGlobalSubscription( _
       ByVal Resource As SubscribeTargetResource, _
       ByVal AETitle As System.String _
    ) As System.Net.Http.HttpResponseMessage
    'Usage
     
    
    Dim instance As WorkItemWebClient
    Dim Resource As SubscribeTargetResource
    Dim AETitle As System.String
    Dim value As System.Net.Http.HttpResponseMessage
     
    value = instance.SuspendGlobalSubscription(Resource, AETitle)
    public System.Net.Http.HttpResponseMessage SuspendGlobalSubscription( 
       SubscribeTargetResource Resource,
       System.string AETitle
    )
    public function SuspendGlobalSubscription( 
        Resource: SubscribeTargetResource;
        AETitle: System.String
    ): System.Net.Http.HttpResponseMessage; 
    public function SuspendGlobalSubscription( 
       Resource : SubscribeTargetResource,
       AETitle : System.String
    ) : System.Net.Http.HttpResponseMessage;
    public: System.Net.Http.HttpResponseMessage* SuspendGlobalSubscription( 
       SubscribeTargetResource Resource,
       System.string* AETitle
    ) 
    public:
    System.Net.Http.HttpResponseMessage^ SuspendGlobalSubscription( 
       SubscribeTargetResource Resource,
       System.String^ AETitle
    ) 

    Parameters

    Resource
    The Subscribe Target Resource
    AETitle
    The AETitle of Subscriber
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also