Hi Sridhar,
As far as I know, not all the features in .NET Framework are supported in .NET Compact Framework.
I was not sure if stockQuoteSoapClient.ClientCredentials.UserName.UserName in your codes inherited from
ClientCredentials.UserName Property. This property is not supported in .NET Compact Framework.
Maybe you need to achieve it by yourself or find another library for .NET Compact Framework.
Also, you can follow this article to use WCF in Windows mobile.
Write an IM App with the .NET Compact Framework
I hope my suggestions can help you to solve this problem.
Best regards,
Jesse
Jesse Jiang [MSFT]
MSDN Community Support |
Feedback to us
