<?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: Getting 'The call is ambiguous between the following methods' when using SaveAsAsync in Esri.ArcGISRuntime.Mapping  in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615289#M7542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Nagma! &amp;nbsp;This worked perfectly and makes sense. &amp;nbsp;Appreciate the quick reply. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2017 16:27:44 GMT</pubDate>
    <dc:creator>RobertAbell</dc:creator>
    <dc:date>2017-08-17T16:27:44Z</dc:date>
    <item>
      <title>Getting 'The call is ambiguous between the following methods' when using SaveAsAsync in Esri.ArcGISRuntime.Mapping</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615287#M7540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using code in the documentation for the ArcGIS Runtime SDK for .NET (WPF) and am getting 'The call is ambiguous between the following methods or properties: 'Map.SaveAsAsync(ArcGISPortal, PortalFolder, string, string, IEneumerable&amp;lt;String&amp;gt;,Uri,bool' and&amp;nbsp;&lt;SPAN&gt;'Map.SaveAsAsync(ArcGISPortal, PortalFolder, string, string, IEneumerable&amp;lt;String&amp;gt;,RuntimeImage,bool''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When looking at the Map class the Uri method is marked as 'Obsolete' and says to use the 'RuntimeImage' method instead but I am not sure how to force the code to use the correct method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not sure what other details are needed to help define my question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/367086_pastedImage_1.png" style="width: 620px; height: 77px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/367087_pastedImage_2.png" style="width: 620px; height: 79px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/367133_pastedImage_3.png" style="width: 620px; height: 25px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 21:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615287#M7540</guid>
      <dc:creator>RobertAbell</dc:creator>
      <dc:date>2017-08-15T21:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 'The call is ambiguous between the following methods' when using SaveAsAsync in Esri.ArcGISRuntime.Mapping</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615288#M7541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the Map.SaveAsync() method using a reference of RuntimeImage as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeImage img = null;&lt;BR /&gt; await _map.SaveAsAsync(agsOnline, null, title, description, tags, img);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have downloaded the samples, look at this sample named " AuthodEditSaveMap" , it has the implementation of this method.&amp;nbsp;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 21:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615288#M7541</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-15T21:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting 'The call is ambiguous between the following methods' when using SaveAsAsync in Esri.ArcGISRuntime.Mapping</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615289#M7542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Nagma! &amp;nbsp;This worked perfectly and makes sense. &amp;nbsp;Appreciate the quick reply. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 16:27:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-the-call-is-ambiguous-between-the/m-p/615289#M7542</guid>
      <dc:creator>RobertAbell</dc:creator>
      <dc:date>2017-08-17T16:27:44Z</dc:date>
    </item>
  </channel>
</rss>

