source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.Doc/buildhelp/assembler/Output/html/35115a38-b0d9-27b3-344f-980aaedcdc61.htm@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 25.4 KB
Line 
1<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><META NAME="save" CONTENT="history" /><title>RemoteEventService Interface</title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><link rel="stylesheet" type="text/css" href="ms-help://Dx/DxRuntime/DxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/Dropdown.js"> </script><script type="text/javascript" src="../scripts/script_manifold.js"> </script><script type="text/javascript" src="../scripts/LanguageFilter.js"> </script><script type="text/javascript" src="../scripts/DataStore.js"> </script><script type="text/javascript" src="../scripts/CommonUtilities.js"> </script><script type="text/javascript" src="../scripts/MemberFilter.js"> </script><meta name="guid" content="35115a38-b0d9-27b3-344f-980aaedcdc61" /><xml><MSHelp:TOCTitle Title="RemoteEventService Interface" /><MSHelp:RLTitle Title="RemoteEventService Interface (IndianHealthService.BMXNet)" /><MSHelp:Attr Name="AssetID" Value="T:IndianHealthService.BMXNet.RemoteEventService" /><MSHelp:Keyword Index="A" Term="T:IndianHealthService.BMXNet.RemoteEventService" /><MSHelp:Keyword Index="A" Term="frlrfIndianHealthServiceBMXNetRemoteEventServiceClassTopic" /><MSHelp:Keyword Index="K" Term="RemoteEventService interface" /><MSHelp:Keyword Index="K" Term="IndianHealthService.BMXNet.RemoteEventService interface" /><MSHelp:Keyword Index="K" Term="RemoteEventService interface, about RemoteEventService interface" /><MSHelp:Keyword Index="F" Term="RemoteEventService" /><MSHelp:Keyword Index="F" Term="IndianHealthService.BMXNet.RemoteEventService" /><MSHelp:Attr Name="HelpPriority" Value="2" /><MSHelp:Attr Name="APIType" Value="Managed" /><MSHelp:Attr Name="APILocation" Value="BMXNET40.dll" /><MSHelp:Attr Name="APIName" Value="IndianHealthService.BMXNet.RemoteEventService" /><MSHelp:Attr Name="DevLang" Value="CSharp" /><MSHelp:Attr Name="DevLang" Value="VB" /><MSHelp:Attr Name="DevLang" Value="C++" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="TopicType" Value="apiref" /><MSHelp:Attr Name="Abstract" Value="All async communications with RPMS is performed through the RemoteEventService which is found by calling aRemoteSession.EventServices." /></xml></head><body><input type="hidden" id="userDataCache" class="userDataStyle" /><input type="hidden" id="hiddenScrollOffset" /><img id="collapseImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" title="Collapse image" /><img id="expandImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" title="Expand Image" /><img id="collapseAllImage" style="display:none; height:0; width:0;" src="../icons/collall.gif" title="CollapseAll image" /><img id="expandAllImage" style="display:none; height:0; width:0;" src="../icons/expall.gif" title="ExpandAll image" /><img id="dropDownImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected.gif" title="DropDown image" /><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected_hover.gif" title="DropDownHover image" /><img id="copyImage" style="display:none; height:0; width:0;" src="../icons/copycode.gif" title="Copy image" /><img id="copyHoverImage" style="display:none; height:0; width:0;" src="../icons/copycodeHighlight.gif" title="CopyHover image" /><img id="checkBoxSelectImage" style="display:none; height:0; width:0;" src="../icons/ch_selected.gif" /><img id="checkBoxUnSelectImage" style="display:none; height:0; width:0;" src="../icons/ch_unselected.gif" /><img id="checkBoxSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/ch_selected_hover.gif" /><img id="checkBoxUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/ch_unselected_hover.gif" /><img id="radioSelectImage" style="display:none; height:0; width:0;" src="../icons/r_select.gif" /><img id="radioUnSelectImage" style="display:none; height:0; width:0;" src="../icons/r_unselect.gif" /><img id="radioSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/r_select_hover.gif" /><img id="radioUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/r_unselect_hover.gif" /><img id="curvedLeftSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_lft_cnr.gif" /><img id="curvedRightSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_rt_cnr.gif" /><img id="curvedLeftUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_lft_cnr.gif" /><img id="curvedRightUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_rt_cnr.gif" /><img id="gradLeftSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_lft_grad.gif" /><img id="gradRightSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_rt_grad.gif" /><img id="gradLeftUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_lft_grad.gif" /><img id="gradRightUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_rt_grad.gif" /><img id="twirlSelectImage" style="display:none; height:0; width:0;" src="../icons/twirl_selected.gif" /><img id="twirlUnSelectImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected.gif" /><img id="twirlSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_selected_hover.gif" /><img id="twirlUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected_hover.gif" /><img id="NSRBottomImage" style="display:none; height:0; width:0;" src="../icons/NSRbottomgrad.gif" /><div id="header"><table id="topTable"><tr id="headerTableRow3"><td><span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"><img ID="toggleAllImage" class="toggleAll" src="../icons/collall.gif" title="CollapseAll image" /><label id="collapseAllLabel" for="toggleAllImage" style="display: none;">Collapse All</label><label id="expandAllLabel" for="toggleAllImage" style="display: none;">Expand All</label> </span> | <span id="languageFilterToolTip" style="cursor:default;" onmouseover="languageFilterImage.src=dropDownHoverImage.src;" onmouseout="languageFilterImage.src=dropDownImage.src;" tabindex="0"><img id="languageFilterImage" src="../icons/twirl_unselected.gif" title="DropDown image" /><label id="VisualBasicLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual Basic</label><label id="CSharpLabel" for="languageFilterImage" style="display: none;">Language Filter: C#</label><label id="ManagedCPlusPlusLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual C++</label><label id="JavaScriptLabel" for="languageFilterImage" style="display: none;">Language Filter: JavaScript</label></span><div id="languageSpan"><div id="VisualBasic" onclick="changeLanguage(data, 'VisualBasic', 'vb');"><img id="VisualBasicImage" onmouseover="mouseOverCheck(VisualBasicImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(VisualBasicImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> Visual Basic</div><br /><div id="CSharp" onclick="changeLanguage(data, 'CSharp', 'cs');"><img id="CSharpImage" onmouseover="mouseOverCheck(CSharpImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(CSharpImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> C#</div><br /><div id="ManagedCPlusPlus" onclick="changeLanguage(data, 'ManagedCPlusPlus', 'cpp');"><img id="ManagedCPlusPlusImage" onmouseover="mouseOverCheck(ManagedCPlusPlusImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(ManagedCPlusPlusImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> Visual C++</div><br /><div id="JavaScript" onclick="changeLanguage(data, 'JavaScript', 'cs');"><img id="JavaScriptImage" onmouseover="mouseOverCheck(JavaScriptImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(JavaScriptImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> JavaScript</div><br /></div> | <a href="#membersToggle" onclick="OpenSection(membersToggle)">Members</a> | <a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a></td></tr><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText">.NET Framework Class Library</span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">RemoteEventService Interface</span></td></tr><tr><td class="nsrBottom" background="../icons/NSRbottomgrad.gif" /></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" /><div class="header"><font color="darkgray" /><p><font color="#a9a9a9">BMXNET 4.0 Developer API</font></p></div><div class="summary">
2 All async communications with RPMS is performed through the RemoteEventService which
3 is found by calling aRemoteSession.EventServices.
4 </div><p />
5 <b>Namespace:</b>
6  <a href="58d4523c-9538-8ef8-a06c-5ae73a5250ff.htm">IndianHealthService.BMXNet</a><br />
7 <b>Assembly:</b>
8  <span sdata="assembly">BMXNET40</span> (in BMXNET40.dll)<h1 class="heading"><span onclick="ExpandCollapse(syntaxToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(syntaxToggle, event)" tabindex="0"><img id="syntaxToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Syntax</span></h1><div id="syntaxSection" class="section" name="collapseableSection" style=""><div id="syntaxCodeBlocks"><table class="filter" cellspacing="0" cellpadding="0"><tr id="curvedSyntaxTabs"><td class="leftTab" x-lang="CSharp"> </td><td class="middleTab" x-lang="CSharp"> </td><td class="rightTab" x-lang="CSharp"> </td><td class="leftTab" x-lang="VisualBasic"> </td><td class="middleTab" x-lang="VisualBasic"> </td><td class="rightTab" x-lang="VisualBasic"> </td><td class="leftTab" x-lang="ManagedCPlusPlus"> </td><td class="middleTab" x-lang="ManagedCPlusPlus"> </td><td class="rightTab" x-lang="ManagedCPlusPlus"> </td></tr><tr class="tabs" id="syntaxTabs"><td class="leftGrad" x-lang="CSharp"> </td><td class="tab" x-lang="CSharp" onclick="changeLanguage(data, 'CSharp', 'cs');">C#</td><td class="rightGrad" x-lang="CSharp"> </td><td class="leftGrad" x-lang="VisualBasic"> </td><td class="tab" x-lang="VisualBasic" onclick="changeLanguage(data, 'VisualBasic', 'vb');">Visual Basic</td><td class="rightGrad" x-lang="VisualBasic"> </td><td class="leftGrad" x-lang="ManagedCPlusPlus"> </td><td class="tab" x-lang="ManagedCPlusPlus" onclick="changeLanguage(data, 'ManagedCPlusPlus', 'cpp');">Visual C++</td><td class="rightGrad" x-lang="ManagedCPlusPlus"> </td></tr></table><div id="syntaxBlocks"><div class="code" x-lang="CSharp"><div id="CSharpDeclarationSection"><pre><span class="keyword">public</span> <span class="keyword">interface</span> <span class="identifier">RemoteEventService</span></pre></div></div><div class="code" x-lang="VisualBasic"><div id="VisualBasicDeclarationSection"><pre><span class="keyword">Public</span> <span class="keyword">Interface</span> <span class="identifier">RemoteEventService</span></pre></div></div><div class="code" x-lang="ManagedCPlusPlus"><div id="ManagedCPlusPlusDeclarationSection"><pre><span class="keyword">public</span> <span class="keyword">interface class</span> <span class="identifier">RemoteEventService</span></pre></div></div></div></div></div><h1 class="heading"><span onclick="ExpandCollapse(membersToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(membersToggle, event)" tabindex="0"><img id="membersToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Members</span></h1><div id="membersSection" class="section" name="collapseableSection" style=""><div id="allMemberSection"><table class="filter" cellspacing="0" cellpadding="0"><tr id="curvedMemberTabs"><td class="leftTab" value="all"> </td><td class="middleTab" value="all"> </td><td class="rightTab" value="all"> </td><td class="leftTab" value="property"> </td><td class="middleTab" value="property"> </td><td class="rightTab" value="property"> </td><td class="leftTab" value="method"> </td><td class="middleTab" value="method"> </td><td class="rightTab" value="method"> </td><td class="leftTab" value="event"> </td><td class="middleTab" value="event"> </td><td class="rightTab" value="event"> </td></tr><tr class="tabs" id="memberTabs"><td class="leftGrad" value="all"> </td><td class="tab" value="all" onclick="toggleClass('memberTabs','value','all','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'all'); processSubgroup('all','member'); process('memberList','filterElement','member');">All Members</td><td class="rightGrad" value="all"> </td><td class="leftGrad" value="property"> </td><td class="tab" value="property" onclick="toggleClass('memberTabs','value','property','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'property'); processSubgroup('property','member'); process('memberList','filterElement','member');">Properties <img src="../icons/pubproperty.gif" title="Public property" /></td><td class="rightGrad" value="property"> </td><td class="leftGrad" value="method"> </td><td class="tab" value="method" onclick="toggleClass('memberTabs','value','method','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'method'); processSubgroup('method','member'); process('memberList','filterElement','member');">Methods <img src="../icons/pubmethod.gif" title="Public method" /></td><td class="rightGrad" value="method"> </td><td class="leftGrad" value="event"> </td><td class="tab" value="event" onclick="toggleClass('memberTabs','value','event','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'event'); processSubgroup('event','member'); process('memberList','filterElement','member');">Events <img src="../icons/pubevent.gif" title="Public event" /></td><td class="rightGrad" value="event"> </td></tr></table><div class="memberSection"><table class="memberOptions"><tr><td class="line"><div id="public" onclick="var checked=toggleCheck(publicImage); toggleCheckState('public',checked); process('memberList','filterElement','member');"><img id="publicImage" onmouseover="mouseOverCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(publicImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Public</div><br /><div id="protected" onclick="var checked=toggleCheck(protectedImage); toggleCheckState('protected',checked); process('memberList','filterElement','member');"><img id="protectedImage" onmouseover="mouseOverCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(protectedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Protected</div></td><td class="line"><div id="instance" onclick="var checked=toggleCheck(instanceImage); toggleCheckState('instance',checked); process('memberList','filterElement','member');"><img id="instanceImage" onmouseover="mouseOverCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(instanceImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Instance</div><br /><div id="static" onclick="var checked=toggleCheck(staticImage); toggleCheckState('static',checked); process('memberList','filterElement','member');"><img id="staticImage" onmouseover="mouseOverCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(staticImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Static <img src="../icons/static.gif" title="Static member" /></div></td><td class="line"><div id="declared" onclick="var checked=toggleCheck(declaredImage); toggleCheckState('declared',checked); process('memberList','filterElement','member');"><img id="declaredImage" onmouseover="mouseOverCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(declaredImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Declared</div><br /><div id="inherited" onclick="var checked=toggleCheck(inheritedImage); toggleCheckState('inherited',checked); process('memberList','filterElement','member');"><img id="inheritedImage" onmouseover="mouseOverCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(inheritedImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> Inherited</div></td><td class="line"><div id="xna" onclick="var checked=toggleCheck(xnaImage); toggleCheckState('xna',checked); process('memberList','filterElement','member');"><img id="xnaImage" onmouseover="mouseOverCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(xnaImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> XNA Framework Only <img src="../icons/xna.gif" title="Supported by the XNA Framework" /></div><br /><div id="compact" onclick="var checked=toggleCheck(compactImage); toggleCheckState('compact',checked); process('memberList','filterElement','member');"><img id="compactImage" onmouseover="mouseOverCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" onmouseout="mouseOutCheck(compactImage,checkBoxSelectImage,checkBoxUnSelectImage,checkBoxSelectHoverImage,checkBoxUnSelectHoverImage)" src="../icons/ch_selected.gif" /> .NET Compact Framework Only <img src="../icons/CFW.gif" title="Supported by the .NET Compact Framework" /></div></td><td class="line"><br /></td></tr></table><table class="members" id="memberList" cellspacing="0" frame="lhs"><tr><th class="iconColumn"> </th><th class="nameColumn">Member</th><th class="descriptionColumn">Description</th></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="025b08eb-6aba-5a9b-3b05-1dafc18ecaca.htm">EventPollingInterval</a></td><td><div class="summary">
9 The number of milliseconds (ms) to wait before polling. If a polling event is currently being processed
10 when a second event is trigger, the second event is skipped. It's recommended to keep this interval at
11 5000 (5 seconds) or higher.
12 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="932762de-fab6-c661-dbfa-a9285857ad1b.htm">InvokedControl</a></td><td><div class="summary">
13 Set InvokedControl to a form or control of your WinForm application or EHR/VueCentric component that
14 will live the lifetime of your RemoteSession. The RemoteEventServices will Invoke() on the InvokedControl
15 to ensure all events are triggered on the UI thread.
16 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="6a2e1211-909a-63fd-e34e-f174d46900d6.htm">IsEventPollingEnabled</a></td><td><div class="summary">
17 EventPolling is used for RemoteService events and Async RPC calls. IsEventPollingEnabled is used
18 to turn polling on and off: True for on and False for off. The Async RPC framework and remote event service
19 needs polling to be turned on.
20 </div></td></tr><tr data="event; public; instance; declared; none; none"><td><img src="../icons/pubevent.gif" title="Public event" /></td><td><a href="92a8234c-1385-e62e-59fb-4ed06a6d2688.htm">RpmsEvent</a></td><td><div class="summary">
21 This event is triggered when an event named anEventType is published and the
22 receiver has a subscription. Remember that this event is not on the UI-thread unless InvokedControl is properly set.
23 </div></td></tr><tr data="method; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="d48073f8-e43c-b89b-6bb6-65038e238390.htm">Subscribe(String)</a></td><td><div class="summary">
24 Subscribe to an event named anEventType. These events are trigger exclusivley by other BMXNet remote services and
25 travel from client-to-server-to-client. Once subscribed, the RemoteSession will poll based on the EventPollingInterval to
26 see if a server-side event is waiting to be triggered on the client.
27 </div></td></tr><tr data="event; public; instance; declared; none; none"><td><img src="../icons/pubevent.gif" title="Public event" /></td><td><a href="78fc2d28-e8d0-90c2-b4c6-4b585b9caff6.htm">TimerEvent</a></td><td><div class="summary">
28 This event is triggered every time the event timer is triggered, based on the EventPollingInterval.
29 Remember that this event is not on the UI-thread unless InvokedControl is properly set.
30 </div></td></tr><tr data="method; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="bb5e361d-ed40-d72c-81d2-5dcc979cafc5.htm">TriggerEvent(String, String, Boolean)</a></td><td><div class="summary">
31 Access to a RemoteEventService also allows you to publish your own events. Publishing is done through design and
32 documentation to notify other developers what events you will trigger. An event is published, or triggered, by using TriggerEvent
33 with the name of the event, an optional event specific string with data, and whether or not the publisher, if subsubscribed,
34 wants the event published to them.
35 </div></td></tr><tr data="method; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="5bcb9d8f-ea51-1e81-bf73-53fd9c4f80d3.htm">Unsubscribe(String)</a></td><td><div class="summary">
36 Unsubscribe from an event named anEventType. Once unsubscribed, published events named anEventType will no longer
37 trigger an event for this RemoteSession.
38 </div></td></tr></table></div></div></div><h1 class="heading"><span onclick="ExpandCollapse(remarksToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(remarksToggle, event)" tabindex="0"><img id="remarksToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Remarks</span></h1><div id="remarksSection" class="section" name="collapseableSection" style="">
39
40 <p>By default remote events are asynchronous and are not on the UI thread. The development
41 must handed the events propertly and if interacting with a user interface control must use
42 Invoke(). As a convinenence, InvokedControl can be set to any non-disposed Control and the
43 event service is use Invoke() so that the event is triggered on the UI thread</p>
44 <p>The Event timer, IsEventPollingEnabled and EventPollingInterval, is used by the Async RPC calls
45 and is automattically turned on with IsEventPollingEnabled. If the developer turns on polling or
46 changes the EventPollingInterval to be a long period, then the Async RPC calls will not respond in
47 a timely manner if at all.
48 </p>
49
50 </div><h1 class="heading"><span onclick="ExpandCollapse(seeAlsoToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle, event)" tabindex="0"><img id="seeAlsoToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />See Also</span></h1><div id="seeAlsoSection" class="section" name="collapseableSection" style=""><div class="seeAlsoStyle"><a href="58d4523c-9538-8ef8-a06c-5ae73a5250ff.htm">IndianHealthService.BMXNet Namespace</a></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" title="Footer image" /></div>
51 <p />
52 <span>
53 Send
54 <a href="javascript:sendfeedback('Documentation Feedback (Sandcastle CTP): ', 'RemoteEventService Interface', '');">
55
56 comments
57 </a>
58 about this topic to Microsoft.
59 </span>
60 </div></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.