Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion in VB.NET does not work
Message
From
15/07/2014 09:57:25
 
 
To
15/07/2014 08:47:51
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603662
Message ID:
01603692
Views:
38
>>Maybe;
    Public Overrides Function BuildChannelListener(Of TChannel As {Class, IChannel})(context As BindingContext) _
>>As IChannelListener(Of TChannel)
>>        If context Is Nothing Then
>>            Throw New ArgumentNullException("context")
>>        End If
>>
>>        context.BindingParameters.Add(Me)
>>        Return context.BuildInnerChannelListener(Of TChannel)()
>>    End Function
>
>This syntax is not accepted in VB.NET. I see the designer showing a bad code under {.

Compiles OK for me with VS2012 targeting 4.5. What version of VS and .NET are you using?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform