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 As SubscribeTargetResource, _
ByVal 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 ,
System.string
)
public function SuspendGlobalSubscription(
: SubscribeTargetResource;
: System.String
): System.Net.Http.HttpResponseMessage;
public function SuspendGlobalSubscription(
: SubscribeTargetResource,
: System.String
) : System.Net.Http.HttpResponseMessage;
public: System.Net.Http.HttpResponseMessage* SuspendGlobalSubscription(
SubscribeTargetResource ,
System.string*
)
public:
System.Net.Http.HttpResponseMessage^ SuspendGlobalSubscription(
SubscribeTargetResource ,
System.String^
)
Parameters
- Resource
- The Subscribe Target Resource
- AETitle
- The AETitle of Subscriber
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also