serializing BCL types
|
| serializing BCL types | Hi,
the proxy generator of Visual Studio wrappes the BCL types in a strange way: [WebMethod()] public CheckConditionsResult CheckConditions(System.Version clientVersion, System.Version clientFrameworkVersion) A client site call of the generated proxy method: Version myVersion = Assembly.GetExecutingAssembly().GetName().Version; Version frameworkVersion = Environment.Version; IAsyncResult ar = this.mywebservice.BeginCheckConditions(myVersion, frameworkVersion); results in an exception: Argument '1': cannot convert from 'System.Version' to 'MyWebService.Version' Argument '2': cannot convert from 'System.Version' to 'MyWebService.Version' Hum, why that? And how to solve? TIA, Frank
|
|
|
|
|
 | Members Area | |
|
 | Last Web Marketing |
|
|
|
|
 | Last Programming Tips |
|
|
|
|
 | Last News |
|
|
|
|
|
|