Which namespace and assembly contains the CFFaultException-Klass of CF3.5?

Frage Which namespace and assembly contains the CFFaultException-Klass of CF3.5?

  • Donnerstag, 13. Oktober 2011 21:35
     
     
    I am working with WCF webservices. About errors in my service-contracts (wrong input etc.) I want to tell the client by sending FaultExceptions. Unfortunately the FaultException-Class is not available in the compact framework. But as compensation there should be a class named CFFaultException with the same functionality. But I can not find this class. Neither there is a Microsoft.Tools.ServiceModel-Namespace nor there is a Microsoft.Tools-assembly. Where do I get this class? Which assembly I have to include and which namespace I have to use? The server is a .NET 3.5 application, on the client runs windows ce 5 with .net compact framework 3.5. The IDE is Visual Studio 2008 on Windows 7 Pro 64bit. Thanks in advance! Peter

Alle Antworten