Exemplo n.º 1
0
 /// <remarks/>
 public ReplyBase EndSubscribe(System.IAsyncResult asyncResult, out SubscribeReplyItemList RItemList, out OPCError[] Errors, out string ServerSubHandle)
 {
     object[] results = this.EndInvoke(asyncResult);
     RItemList       = ((SubscribeReplyItemList)(results[1]));
     Errors          = ((OPCError[])(results[2]));
     ServerSubHandle = ((string)(results[3]));
     return((ReplyBase)(results[0]));
 }
Exemplo n.º 2
0
 public ReplyBase Subscribe(RequestOptions Options, SubscribeRequestItemList ItemList, [System.Xml.Serialization.XmlAttributeAttribute()] bool ReturnValuesOnReply, [System.Xml.Serialization.XmlAttributeAttribute()][System.ComponentModel.DefaultValueAttribute(0)] int SubscriptionPingRate, out SubscribeReplyItemList RItemList, [System.Xml.Serialization.XmlElementAttribute("Errors")] out OPCError[] Errors, [System.Xml.Serialization.XmlAttributeAttribute()] out string ServerSubHandle)
 {
     object[] results = this.Invoke("Subscribe", new object[] {
         Options,
         ItemList,
         ReturnValuesOnReply,
         SubscriptionPingRate
     });
     RItemList       = ((SubscribeReplyItemList)(results[1]));
     Errors          = ((OPCError[])(results[2]));
     ServerSubHandle = ((string)(results[3]));
     return((ReplyBase)(results[0]));
 }