说明一下我用的VS版本
开发环境2002 version:7.0.9486
.Net框架1.0, version:1.0.3705

解决方案 »

  1.   

    A serviced component is the mechanism that enables COM+ services to be available to .NET Framework classes. This section describes how to configure and register serviced components for access to COM+ services.
      

  2.   

    refer to 
    ms-help://MS.MSDNQTR.2003APR.1033/cpguide/html/cpconwritingservicedcomponents.htmIn .net you can take advantage of COM+ service such as transaction and message queue (something like jms in j2ee).
      

  3.   

    refer to 
    http://www.microsoft.com/China/Community/TechZone/TechArticle/TechDoc/usecom.aspIt tells you how to create and use com+ service
      

  4.   

    我自己已经搞定了,但是不知道下面的具体是什么意思。
    [assembly: ApplicationName("ComTestServer")]
    [assembly: ApplicationActivation(ActivationOption.Library)] [ Transaction(TransactionOption.Required) ]
    [ ObjectPooling(true, 5, 10) ]
    [ AutoComplete(true) ]
    哪位给我回答一下,我不太明白。
      

  5.   

    you allow the compoent to use transaction, object pooling, auto complete mechanism in com+ApplicationActivation specifies whether components in the assembly run in the creator's process or in a system process.
    You can specifies as Library or Server,i.e. [assembly: ApplicationActivation(ActivationOption.Library)], [assembly: ApplicationActivation(ActivationOption.Server.)]
    Specifies that serviced components in the ed application are activated in the creator's process or in the ed application are activated in a system-provided process. 
    ApplicationName is the name of your application