QuickOPC User's Guide and Reference
GetWarningMessages Method (UAEndpointSelectionPolicy)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAEndpointSelectionPolicy Class : GetWarningMessages Method
Enumerates the warning messages associated with the current policy.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy/d__137)> 
<NotNullAttribute()> 
Public Function GetWarningMessages() As IEnumerable(Of String)
'Usage
 
Dim instance As UAEndpointSelectionPolicy
Dim value As IEnumerable(Of String)
 
value = instance.GetWarningMessages()
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy/d__137)] 
[NotNull()] 
public IEnumerable<string> GetWarningMessages()
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy/d__137)] 
[NotNull()] 
public: 
IEnumerable<String^>^ GetWarningMessages(); 

Return Value

Returns the sequence of the warning messages.
Requirements

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

See Also