<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use a featureclass in mutithreaded environment in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-a-featureclass-in-mutithreaded/m-p/335177#M8792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I went through few links saying that, for multithreaded applications, user should avoid cross threaded apartment calls to reduce marshallings. For e.g. creating a featureclass on main thread and passing it to child threads may cause these calls to occur and hence, degrade the performance. &lt;BR /&gt;&lt;BR /&gt;I tried to deep clone Ifeatureclass using ESRI IClonable interface and then use IPersistStream to serialize it, but did went thru some errors. &lt;BR /&gt;&lt;BR /&gt;I got one error "Value does not fall in expected range" while cloning a cloneableclass containing a feature class...&lt;BR /&gt;&lt;BR /&gt;Any suggestions !!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just got to know that for Deep cloning , IObjectCopy can be used but because Ifeatureclass does not implement IPersistStream,, so I guess deep cloning of feature class is not possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please suggest any other way to achieve this&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 15:16:32 GMT</pubDate>
    <dc:creator>AnilDhiman</dc:creator>
    <dc:date>2010-07-23T15:16:32Z</dc:date>
    <item>
      <title>How to use a featureclass in mutithreaded environment</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-a-featureclass-in-mutithreaded/m-p/335176#M8791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I went through few links saying that, for multithreaded applications, user should avoid cross threaded apartment calls to reduce marshallings. For e.g. creating a featureclass on main thread and passing it to child threads may cause these calls to occur and hence, degrade the performance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to deep clone Ifeatureclass using ESRI IClonable interface and then use IPersistStream to serialize it, but did went thru some errors. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got one error "Value does not fall in expected range" while cloning a cloneableclass containing a feature class...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-a-featureclass-in-mutithreaded/m-p/335176#M8791</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-07-23T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a featureclass in mutithreaded environment</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-a-featureclass-in-mutithreaded/m-p/335177#M8792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I went through few links saying that, for multithreaded applications, user should avoid cross threaded apartment calls to reduce marshallings. For e.g. creating a featureclass on main thread and passing it to child threads may cause these calls to occur and hence, degrade the performance. &lt;BR /&gt;&lt;BR /&gt;I tried to deep clone Ifeatureclass using ESRI IClonable interface and then use IPersistStream to serialize it, but did went thru some errors. &lt;BR /&gt;&lt;BR /&gt;I got one error "Value does not fall in expected range" while cloning a cloneableclass containing a feature class...&lt;BR /&gt;&lt;BR /&gt;Any suggestions !!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just got to know that for Deep cloning , IObjectCopy can be used but because Ifeatureclass does not implement IPersistStream,, so I guess deep cloning of feature class is not possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please suggest any other way to achieve this&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:16:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-a-featureclass-in-mutithreaded/m-p/335177#M8792</guid>
      <dc:creator>AnilDhiman</dc:creator>
      <dc:date>2010-07-23T15:16:32Z</dc:date>
    </item>
  </channel>
</rss>

