找不到属性 [英] properties not found

查看:105
本文介绍了找不到属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我们使用SeviceDescription方法时,仅列出部分属性.对于前. CodeGenerationOptions不可用.环境是XP,.net 2003,框架1.1、3.5 sp1.


when we use SeviceDescription method only partial properties are listed. for ex. the CodeGenerationOptions not availlable. the environment is XP, .net 2003, framework 1.1, 3.5 sp1. help me to rectify this.

推荐答案

您的问题根本没有任何意义.

首先,它是ServiceDescription ,而不是方法.

它是Visual Studio 2003,而不是.NET 2003,它仅适用于.NET Framework 1.1.

我不知道您用"3.5 SP1"指的是什么.

在.NET Framework的任何版本中,ServiceDescription类都不会公开CodeGenerationOptions属性.该属性由ServiceDescriptionImporter类公开,该类在.NET 1.1中不存在.该类仅在.NET 2.0及更高版本中可用.
Your question doesn''t make any sense at all.

First, it''s the ServiceDescription class, not method.

It''s Visual Studio 2003, not .NET 2003, which only works with the .NET Framework 1.1.

I have no idea what you''re refering to with the "3.5 SP1" thing.

In no version of the .NET Framework does the ServiceDescription class ever expose a CodeGenerationOptions property. That property is exposed by the ServiceDescriptionImporter class, which doesn''t exist in .NET 1.1. That class is only available in .NET 2.0 and above.


这篇关于找不到属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆