Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing IDisposable in a class
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01594093
Message ID:
01594326
Views:
31
>Shouldn't you be doing "as" i.o. "=" ? (This is VB!)
>
>
>Using loSOAPSVC.oOperationContextScope as New System.ServiceModel.OperationContextScope(loMyService.InnerChannel)
>
>
>?

I don't think it makes any difference with the current VB.NET since it will infer type. i.e these two are identical:
Dim a as New (x)
Dim a = New(x)
But would only work in older version if Option Strict was Off.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform