I switched the Compile option Option infer to Off.
One item is noticed:
Overload resolution failed because no accessible 'New' can be called without a narrowing conversion:
'Public Sub New(binding As System.ServiceModel.Channels.Binding, remoteAddress As System.ServiceModel.EndpointAddress)': Argument matching parameter 'binding' narrows from 'Object' to 'System.ServiceModel.Channels.Binding'.
'Public Sub New(binding As System.ServiceModel.Channels.Binding, remoteAddress As System.ServiceModel.EndpointAddress)': Argument matching parameter 'remoteAddress' narrows from 'Object' to 'System.ServiceModel.EndpointAddress'.
'Public Sub New(endpointConfigurationName As String, remoteAddress As System.ServiceModel.EndpointAddress)': Argument matching parameter 'endpointConfigurationName' narrows from 'Object' to 'String'.
'Public Sub New(endpointConfigurationName As String, remoteAddress As System.ServiceModel.EndpointAddress)': Argument matching parameter 'remoteAddress' narrows from 'Object' to 'System.ServiceModel.EndpointAddress'.
'Public Sub New(endpointConfigurationName As String, remoteAddress As String)': Argument matching parameter 'endpointConfigurationName' narrows from 'Object' to 'String'.
'Public Sub New(endpointConfigurationName As String, remoteAddress As String)': Argument matching parameter 'remoteAddress' narrows from 'Object' to 'String'.
This is from this command:
Using loClaimService As ClaimService.ClaimServiceSoapClient = New ClaimService.ClaimServiceSoapClient(loSOAPSVC.oBasicHttpBinding, loSOAPSVC.oEndpointAddress)
The parameters in the New declaration are highlighted.
It is not clear what has to be changed here. With that error, the intellisense does not kick in on that one. If I switched the option On, there is no problem.