Professional Communication
Software Development Tools

OPC Foundation member and certified logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions or issues. You do not have to own a commercial license in order to use the OPC Labs supportOur team is actively monitoring the forums, and provides replies as soon as possible.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible.

Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Error BC30456 'AllowedMessageSecurityModes' is not a member of 'UAEndpointSelect

More
13 Jun 2026 09:39 #14651 by support
Hello.

Yes, there has been a change. Please modify your code to use uaDataDialog1.EndpointDescriptor.EndpointSelectionPolicy.CommunicationProfile.MessageSecurityModes
instead,

(the new object is mentioned, but admittedly not best described, here  kb.opclabs.com/What%27s_new_in_OPC_Studio_2025.1 ).

Best regards
 

Please Log in or Create an account to join the conversation.

More
13 Jun 2026 08:43 #14650 by micham
I am getting the following build error after upgarding to NuGet version 5.82.423.

Severity    Code    Description    Project    File    Line    Source    Suppression State
Error    BC30456    'AllowedMessageSecurityModes' is not a member of 'UAEndpointSelectionPolicy'.

My code is below:
If server_properties.pSecurityMode = "Sign&Encrypt" Then
      uaDataDialog1.EndpointDescriptor.EndpointSelectionPolicy.AllowedMessageSecurityModes = UAMessageSecurityModes.SecuritySignAndEncrypt ' Sign&Encrypt
End If

Thank you.

Michael
 

Please Log in or Create an account to join the conversation.

Moderators: supportvaclav.zaloudek
Time to create page: 0.115 seconds