<?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 SyncGeodatabaseJob  Timeout in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/syncgeodatabasejob-timeout/m-p/563050#M6883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I offline data from my portal，and after edit data，I sync the edits to portal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var _gdbsyncTask = await GeodatabaseSyncTask.CreateAsync(new Uri(url), tokenRequest);&lt;/P&gt;&lt;P&gt;var parameters = await _gdbsyncTask.CreateDefaultSyncGeodatabaseParametersAsync(gdb, SyncDirection.Upload);&lt;BR /&gt;parameters.LayerOptions.Add(new SyncLayerOption(0));&lt;/P&gt;&lt;P&gt;var job = _gdbsyncTask.SyncGeodatabase(parameters, gdb);&lt;BR /&gt;job.ProgressChanged += (s, ef) =&amp;gt; { Debug.WriteLine(job.Progress); };&lt;BR /&gt;job.Start();&lt;/P&gt;&lt;P&gt;var result = await job.GetResultAsync();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the progress is so much slow，and get an exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;引发的异常:“Esri.ArcGISRuntime.ArcGISRuntimeException”(位于 mscorlib.dll 中)&lt;BR /&gt;“Esri.ArcGISRuntime.ArcGISRuntimeException”类型的异常在 mscorlib.dll 中发生，但未在用户代码中进行处理&lt;BR /&gt;&lt;STRONG&gt;Illegal state: Job failed because responses have failed for more than 10 minutes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is some way to set timeout minutes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Sep 2018 11:09:14 GMT</pubDate>
    <dc:creator>亚张</dc:creator>
    <dc:date>2018-09-23T11:09:14Z</dc:date>
    <item>
      <title>SyncGeodatabaseJob  Timeout</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/syncgeodatabasejob-timeout/m-p/563050#M6883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I offline data from my portal，and after edit data，I sync the edits to portal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var _gdbsyncTask = await GeodatabaseSyncTask.CreateAsync(new Uri(url), tokenRequest);&lt;/P&gt;&lt;P&gt;var parameters = await _gdbsyncTask.CreateDefaultSyncGeodatabaseParametersAsync(gdb, SyncDirection.Upload);&lt;BR /&gt;parameters.LayerOptions.Add(new SyncLayerOption(0));&lt;/P&gt;&lt;P&gt;var job = _gdbsyncTask.SyncGeodatabase(parameters, gdb);&lt;BR /&gt;job.ProgressChanged += (s, ef) =&amp;gt; { Debug.WriteLine(job.Progress); };&lt;BR /&gt;job.Start();&lt;/P&gt;&lt;P&gt;var result = await job.GetResultAsync();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the progress is so much slow，and get an exception:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;引发的异常:“Esri.ArcGISRuntime.ArcGISRuntimeException”(位于 mscorlib.dll 中)&lt;BR /&gt;“Esri.ArcGISRuntime.ArcGISRuntimeException”类型的异常在 mscorlib.dll 中发生，但未在用户代码中进行处理&lt;BR /&gt;&lt;STRONG&gt;Illegal state: Job failed because responses have failed for more than 10 minutes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is some way to set timeout minutes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 11:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/syncgeodatabasejob-timeout/m-p/563050#M6883</guid>
      <dc:creator>亚张</dc:creator>
      <dc:date>2018-09-23T11:09:14Z</dc:date>
    </item>
  </channel>
</rss>

