OPC Studio User's Guide and Reference
IEasyUASubscriberExtension2 Class Methods


OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Extensions Namespace : IEasyUASubscriberExtension2 Class

For a list of all members of this type, see IEasyUASubscriberExtension2 members.

Public Methods
 NameDescription
Public Method (Inherited from object)
Public MethodServes as the default hash function. (Inherited from object)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Overloaded. Tests whether an OPC UA PubSub connection can be successfully established. Synchronous.

The method tests synchronously whether an OPC UA PubSub connection can be successfully established. It returns normally when the test passes. The method throws a OpcLabs.EasyOpc.UA.OperationModel.UAException when there is an error establishing the connection.

Due to asynchronous nature of some communication channels, successful test outcome does not always imply that a connection has been fully established.

The waitMilliseconds parameter is not a timeout in its traditional sense, i.e. a maximum time allowed for the operation. Here, this method actually waits for the time given by waitMilliseconds parameter unless a failure occurs.

 
Public Methodstatic (Shared in Visual Basic)Overloaded. Tests whether an OPC UA PubSub connection can be successfully established. Asynchronous.

The method tests asynchronously whether an OPC UA PubSub connection can be successfully established.

Due to asynchronous nature of some communication channels, successful test outcome does not always imply that a connection has been fully established.

The waitMilliseconds parameter is not a timeout in its traditional sense, i.e. a maximum time allowed for the operation. Here, this method actually waits for the time given by waitMilliseconds parameter unless a failure occurs.

 
Public Methodstatic (Shared in Visual Basic)Tests whether an OPC UA PubSub subscription can be successfully established. Synchronous.  
Public Methodstatic (Shared in Visual Basic)Tests whether an OPC UA PubSub subscription can be successfully established. Asynchronous.  
Public MethodReturns a string that represents the current object. (Inherited from object)
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Top
Extension Methods
 NameDescription
Public Extension MethodSets the arbitrary object associated with the node.
Top
See Also

Reference

IEasyUASubscriberExtension2 Class
OpcLabs.EasyOpc.UA.PubSub.Extensions Namespace