OPC Studio User's Guide and Reference
Differentiator Property (UAEndpointDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptor Class : Differentiator Property
An arbitrary string that differentiates the selected object from others with the same parameters.
Syntax
'Declaration
 
<DataMemberAttribute()>
<JetBrains.Annotations.NotNullAttribute()>
Public Property Differentiator As String
'Usage
 
Dim instance As UAEndpointDescriptor
Dim value As String
 
instance.Differentiator = value
 
value = instance.Differentiator
[DataMember()]
[JetBrains.Annotations.NotNull()]
public string Differentiator {get; set;}
[DataMember()]
[JetBrains.Annotations.NotNull()]
public:
property String^ Differentiator {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Remarks

The differentiator can be used to instruct the client to treat connections to otherwise identical endpoints separately (maintain a separate session to each of them). This is similar to the effect of using multiple client components and setting their Isolated to true, but performed in much more focused manner and without the overhead required by using multiple client components.

The value of the differentiator does not have effect on the connection itself and can be any string. What matters is the fact that different values cause the endpoint descriptor be considered unequal to another endpoint descriptor which has exactly the same properties except for the differentiator.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also