Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/307.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如果没有ModuleInfo标记的app.config,我如何使用C#连接到具有Emc.Documentum.FS.Runtime的Documentum?_C#_.net_Documentum_Documentum6.5 - Fatal编程技术网

如果没有ModuleInfo标记的app.config,我如何使用C#连接到具有Emc.Documentum.FS.Runtime的Documentum?

如果没有ModuleInfo标记的app.config,我如何使用C#连接到具有Emc.Documentum.FS.Runtime的Documentum?,c#,.net,documentum,documentum6.5,C#,.net,Documentum,Documentum6.5,使用app.config的示例代码: ContextFactory contextFactory = ContextFactory.Instance; IServiceContext serviceContext = contextFactory.NewContext(); 我希望在代码中设置app.config节,而不是让API直接读取它 <Emc.Documentum> <FS> <ConfigObject type="Emc.Docume

使用app.config的示例代码:

ContextFactory contextFactory = ContextFactory.Instance;
IServiceContext serviceContext = contextFactory.NewContext();
我希望在代码中设置app.config节,而不是让API直接读取它

<Emc.Documentum>
    <FS>
      <ConfigObject type="Emc.Documentum.FS.Runtime.Impl.Configuration.ConfigObject, Emc.Documentum.FS.Runtime"
       defaultModuleName="core" registryProviderModuleName="core" requireSignedUcfJars="true">
        <ModuleInfo name="core" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
        <ModuleInfo name="search" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
        <ModuleInfo name="bpm" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
        <ModuleInfo name="collaboration" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services" />
      </ConfigObject>
    </FS>
</Emc.Documentum>

您可以在Documentum开发者社区中找到答案:


*

您可以在Documentum开发者社区中找到答案:


*

谢谢,我找到了一篇关于这方面的文章,这篇文章应该使我们能够通过手动编辑AppConfig singleton类属性来配置我们需要的内容。谢谢,我找到了一篇关于这方面的文章,它应该使我们能够通过手动编辑AppConfig singleton类属性来配置我们需要的内容。