I hate to insist, but according to
http://msdn.microsoft.com/en-us/library/htd05whh.aspxyou use "as" and not "=" in using.
I think your problem is that you assign a member of an object in using; It should be an untyped local variable. Using end using is implemented as a block. You might assign the member within the using block, and pass it as parameters.
>>Shouldn't you be doing "as" i.o. "=" ? (This is VB!)
>>
>>
>>Using loSOAPSVC.oOperationContextScope as New System.ServiceModel.OperationContextScope(loMyService.InnerChannel)
>>
>>
>>?
>
>This is not a valid syntax.
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.