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 As SubscribeTargetResource, _
ByVal As System.String, _
ByVal 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 ,
System.string ,
System.string
)
public function Unsubscribe(
: SubscribeTargetResource;
: System.String;
: System.String
): System.Net.Http.HttpResponseMessage;
public function Unsubscribe(
: SubscribeTargetResource,
: System.String,
: System.String
) : System.Net.Http.HttpResponseMessage;
public: System.Net.Http.HttpResponseMessage* Unsubscribe(
SubscribeTargetResource ,
System.string* ,
System.string*
)
public:
System.Net.Http.HttpResponseMessage^ Unsubscribe(
SubscribeTargetResource ,
System.String^ ,
System.String^
)
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