source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.Doc/Help/html/b4d454b9-89ad-2e5c-bf4e-b76a378fb8d9.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: 31.3 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>DataTableFuture Class</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="b4d454b9-89ad-2e5c-bf4e-b76a378fb8d9" /></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">DataTableFuture Class</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 DataTableFutures are created synchrounously when Async calls are made on a RemoteSession.
3 A DataTabelFuture is used to manage each async call and has a variety of methods to support
4 the relativelty long and dynamic lifecycle and an Async call.
5 </div><p />
6 <b>Namespace:</b>
7  <a href="46170b6d-731f-6fc0-3e9d-3f79c667aab7.htm">IndianHealthService.BMXNet.Ado</a><br />
8 <b>Assembly:</b>
9  <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">class</span> <span class="identifier">DataTableFuture</span></pre></div></div><div class="code" x-lang="VisualBasic"><div id="VisualBasicDeclarationSection"><pre><span class="keyword">Public</span> <span class="keyword">Class</span> <span class="identifier">DataTableFuture</span></pre></div></div><div class="code" x-lang="ManagedCPlusPlus"><div id="ManagedCPlusPlusDeclarationSection"><pre><span class="keyword">public</span> <span class="keyword">ref class</span> <span class="identifier">DataTableFuture</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="constructor"> </td><td class="middleTab" value="constructor"> </td><td class="rightTab" value="constructor"> </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="constructor"> </td><td class="tab" value="constructor" onclick="toggleClass('memberTabs','value','constructor','activeTab','tab'); curvedToggleClass('curvedMemberTabs', 'value', 'constructor'); processSubgroup('constructor','member'); process('memberList','filterElement','member');">Constructors <img src="../icons/pubmethod.gif" title="Public method" /></td><td class="rightGrad" value="constructor"> </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="constructor; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="ebd779aa-9994-450c-b8a5-8e39dde4d77b.htm">DataTableFuture<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td /></tr><tr data="event; public; instance; declared; none; none"><td><img src="../icons/pubevent.gif" title="Public event" /></td><td><a href="39a4c666-b8f5-10e1-a6c4-62d56de1c833.htm">Aborted</a></td><td /></tr><tr data="method; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="63503418-adf0-5901-b239-eb95d13ef939.htm">Cancel<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td><div class="summary">
10 Method to cancel the Async call. This does not stop the server-side processing. The Aborted event
11 will be called immediately.
12 </div></td></tr><tr data="method; public; instance; inherited; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/bsc2ak47" target="_blank">Equals(Object)</a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="2b786807-76c8-7ef3-0bda-911ff115a0f1.htm">ErrorException</a></td><td><div class="summary">
13 Access to any exceptions that occur during Async call.
14 </div></td></tr><tr data="method; protected; instance; inherited; none; none"><td><img src="../icons/protmethod.gif" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/4k87zsw7" target="_blank">Finalize<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="971f5c7d-ecc6-61fa-4e70-959051ff9926.htm">FutureTime</a></td><td><div class="summary">
15 The time the async call returned (the future)
16 </div></td></tr><tr data="method; public; instance; inherited; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/zdee4b3y" target="_blank">GetHashCode<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="method; public; instance; inherited; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="60c1d1da-4e50-9544-e9ca-501bc3f821b0.htm">HasData</a></td><td><div class="summary">
17 Answer true if the data has been fetched from the server and is ready to be used by the application.
18 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="7376d247-2e18-b954-2568-fc79a5e899e6.htm">HasReturned</a></td><td><div class="summary">
19 Answer true if the Async call has completed on the server and that a result is ready.
20 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="50811b28-4fdc-8307-4c5f-e5300b3b136a.htm">HasTimedOut</a></td><td><div class="summary">
21 Answer true if the Async call has timeed-out (a time-based version of Cancel)
22 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="4a0a89bd-271b-5d05-11ce-c25ba7347908.htm">InvokedControl</a></td><td /></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="3db55789-d899-4d42-aaf6-0cb96b7bdca9.htm">IsAutoFetchEnabled</a></td><td><div class="summary">
23 If set to true the result will be fetched before the Returned event is called, otherwise
24 the Returned event will be triggered and the application code needs to call PostFetch() to retrieve
25 the result. True by default.
26 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="6f6a3a5a-1a69-a788-31b2-1982e3eb8255.htm">MaxWaitTime</a></td><td><div class="summary">
27 Number of seconds to wait for an async response before returning without a response.
28 </div></td></tr><tr data="method; protected; instance; inherited; none; none"><td><img src="../icons/protmethod.gif" title="Protected method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/57ctke0a" target="_blank">MemberwiseClone<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="method; public; instance; declared; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="3434310d-fd1f-c9d7-731f-b4bbcabc9831.htm">PostFetch<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td><div class="summary">
29 If IsAutoFetchEnabled is false, then the results must be fetched synchrounously useding PostFetch().
30 Call PostFetch() once and check if HasData is true. If not true, there is was error related to the
31 async call.
32 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="4f59950a-8d70-e819-0d31-3e61967a4798.htm">PresentTime</a></td><td><div class="summary">
33 The time the Future was created.
34 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="f4054a1a-e34c-10f2-fd6c-b97313941beb.htm">Result</a></td><td><div class="summary">
35 The result table if any, or null.
36 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="db1fa39c-a731-69ac-eb16-64efdd61134e.htm">ResultAppContext</a></td><td><div class="summary">
37 The AppContext that the async call was made with
38 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="faa6b485-0800-d626-0298-c749235f935b.htm">ResultDataSet</a></td><td><div class="summary">
39 The data set the result data table is in.
40 </div></td></tr><tr data="property; protected; instance; declared; none; none"><td><img src="../icons/protproperty.gif" title="Protected property" /></td><td><a href="c182ec7f-0e8d-d70f-92ed-a5b73e968abe.htm">ResultKey</a></td><td /></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="919f7537-aa2a-c89e-7bce-eaa2036d4d04.htm">ResultTableName</a></td><td /></tr><tr data="event; public; instance; declared; none; none"><td><img src="../icons/pubevent.gif" title="Public event" /></td><td><a href="4230c8ec-eabe-34be-bb0d-0124db65596e.htm">Returned</a></td><td><div class="summary">
41 Triggered with the async returns, see DataTableFutureEventArgs to know if there
42 is a result waiting. It's very common to hook the Returned event after each Async call and
43 then unhook it when the Returned or Aborted calls return.
44 </div></td></tr><tr data="method; public; instance; inherited; none; none"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/7bxwbwt2" target="_blank">ToString<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="method; protected; instance; declared; none; none"><td><img src="../icons/protmethod.gif" title="Protected method" /></td><td><a href="c789f7c4-13d2-e271-961e-d3278c65a111.htm">TriggerAbortedEvent<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td /></tr><tr data="method; protected; instance; declared; none; none"><td><img src="../icons/protmethod.gif" title="Protected method" /></td><td><a href="48275a70-484e-13c1-79c6-1ba204e25eaa.htm">TriggerReturnedEvent<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a></td><td /></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="9fec8e8d-b281-9bfa-5499-2d363f1db22c.htm">WaitTime</a></td><td><div class="summary">
45 How long in milliseconds the Async call took to complete.
46 </div></td></tr><tr data="property; public; instance; declared; none; none"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="d6da55e8-9f5a-f8d5-2517-4935df2122f8.htm">WasCancelled</a></td><td><div class="summary">
47 Answer true if canceled. It's common that a dialog would allow the user to cancel the
48 Async call and the Dialog that is holding on the the Future will cancel the Future. Cancelling
49 the Future does not stop the server-side processing but when the server returns nothing will happen.
50 </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="">
51 Beware that all return communications are not on the UI thread unless an InvokedControl
52 is specify.
53 </div><h1 class="heading"><span onclick="ExpandCollapse(familyToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(familyToggle, event)" tabindex="0"><img id="familyToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Inheritance Hierarchy</span></h1><div id="familySection" class="section" name="collapseableSection" style=""><a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">System<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span></span>Object</a><br />  <span class="selflink">IndianHealthService.BMXNet.Ado<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span></span>DataTableFuture</span><br /></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="46170b6d-731f-6fc0-3e9d-3f79c667aab7.htm">IndianHealthService.BMXNet.Ado Namespace</a></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" title="Footer image" /></div>
54 <p />
55 <span>
56 Send
57 <a href="javascript:sendfeedback('Documentation Feedback (Sandcastle CTP): ', 'DataTableFuture Class', '');">
58
59 comments
60 </a>
61 about this topic to Microsoft.
62 </span>
63 </div></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.