c# - Xelement is not a valid windows runtime type -


I am porting the Windows Phone 7 app to run at windows time. In my wp7 app I have:

  public sealed class packet {public excelment _element; PublicExchange (XElement element) {}}   

This indicates that XElement is not recognized as a valid Windows run time type.

Why can you do this,

Windows runtime components that are exposed by Windows runtime type ...

Externally, your type of member can expose only Windows runtime types for their parameters and return values.

... from.

Comments