<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Continue an Instant Messaging Conversation</title><link>http://blogs.technet.com/b/csps/archive/2011/08/31/continueim.aspx</link><description>Have you ever had a conversation with someone and later thought &amp;ldquo;Oh, I should have said this,&amp;rdquo; or &amp;ldquo;I wish I&amp;rsquo;d said that&amp;rdquo;? (True, sometimes you say &amp;ldquo;I wish I hadn&amp;rsquo;t said that,&amp;rdquo; but that&amp;rsquo;s another story</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Continue an Instant Messaging Conversation</title><link>http://blogs.technet.com/b/csps/archive/2011/08/31/continueim.aspx#3452646</link><pubDate>Mon, 12 Sep 2011 18:33:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3452646</guid><dc:creator>CSPShell</dc:creator><description>&lt;p&gt;Hey Charles, This is great feedback, thanks! You&amp;#39;re right, your syntax for the Properties is much simpler, we just missed that one. And also putting the send message at the end would be a little better for maintenance, assuming your message was the same for the initial message and subsequent messages.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3452646" width="1" height="1"&gt;</description></item><item><title>re: Continue an Instant Messaging Conversation</title><link>http://blogs.technet.com/b/csps/archive/2011/08/31/continueim.aspx#3451345</link><pubDate>Tue, 06 Sep 2011 13:03:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3451345</guid><dc:creator>Charles</dc:creator><description>&lt;p&gt;I found that using the actual property name (since Conversation.Property is a Dictionary) instead of the enum value worked and was more readable&lt;/p&gt;
&lt;p&gt;So $c.Properties[&amp;quot;Subject&amp;quot;] instead of $c.Properties[&amp;lt;arbitrarynumber&amp;gt;]&lt;/p&gt;
&lt;p&gt;Also, you don&amp;#39;t neccessarily need to pass a Dictionary&amp;lt;IMContentType, blah&amp;gt; into the BeginSendMessage method - a string would do (though I&amp;#39;m assuming that a dictionary supports more Lync functionality like passing multiple messages etc, but in this case is just an extra line of code)&lt;/p&gt;
&lt;p&gt;Additionally a very minor quip - I&amp;#39;d modify the script so that the message is sent at the end, and the conditional statements just perform the task of getting hold of a conversation.message instance, just for ease of maintenance if the method of sending the message needs to change (only one place to maintain vs two)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3451345" width="1" height="1"&gt;</description></item></channel></rss>