Search code examples
c#.netsilverlightsilverlight-3.0wcf-ria-services

SL3+RIA Services: what assembly is required to use InvokeOperation<Type>?


Background: My experience in C# / Silverlight / .Net development is about 4 weeks worth.

The official documentation for .Net RIA Services July 2009 Preview, on Page 66 Section 6.2.2.2 states how one would consume the result of a call made on a function marked as [ServiceOperation]. This examples specifically uses 'InvokeOperation' (as does many examples i have found in search for an answer to my question). I use Web Developer Express 2008 and when i use 'InvokeOperation' i get "The type or namespace name 'InvokeOperation' could not be found...". Please note i have Googled this but with my little knowledge i believe i am not using the correct search criteria.

My question thus: What assembly should i reference or what should be added as 'using' in my class to enable me to use 'InvokeOperation' in my SL3+RIA Services solution?

Thank you for your assistance in advance.


Solution

  • found it: "using System.Windows.Ria.Data;"