Visual Basic (Usage) | ![]() |
---|---|
Dim instance As OpcXmlDA Dim ServerSubHandle As String Dim ClientRequestHandle As String instance.SubscriptionCancel(ServerSubHandle, ClientRequestHandle) |
C# | |
---|---|
public void SubscriptionCancel( string ServerSubHandle, ref string ClientRequestHandle ) |
Parameters
- ServerSubHandle
- An identifier which had been supplied by the Server in the response to the Subscribe request.
- ClientRequestHandle
- An optional attribute supplied by the client that will be returned with the response. In larger and more complex systems it helps the client to associate the replies with the proper requests.
Visual Basic | ![]() |
---|---|
Private Sub cancelSubscription(ByVal Srv As XmlServer, ByVal handle As String) Dim crh As String = "" Srv.SubscriptionCancel(handle, crh) End Sub |
C# | ![]() |
---|---|
private void cancelSubscription( XmlServer Srv, string handle ) { string crh = "" ; Srv.SubscriptionCancel( handle, ref crh ); } |
Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
>