<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp"><head><link rel="SHORTCUT ICON" href="./../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { backgroundImageName: tabLeftBG.gif; }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { backgroundImageName: tabRightBG.gif; }.OH_footer { backgroundImageName: footer_slice.gif; background-position: top; background-repeat: repeat-x; }</style><link rel="stylesheet" type="text/css" href="./../styles/branding.css" /><link rel="stylesheet" type="text/css" href="./../styles/branding-en-US.css" /><style type="text/css">
body
{
border-left:5px solid #e6e6e6;
overflow-x:scroll;
overflow-y:scroll;
}
</style><script src="./../scripts/branding.js" type="text/javascript"><!----></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>IUserAppMemberService.LoadEntityByKey Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="LoadEntityByKey method" /><meta name="System.Keywords" content="IUserAppMemberService.LoadEntityByKey method" /><meta name="Microsoft.Help.F1" content="CryptoGateway.RDB.Data.AspNetMember.IUserAppMemberService.LoadEntityByKey" /><meta name="Microsoft.Help.Id" content="M:CryptoGateway.RDB.Data.AspNetMember.IUserAppMemberService.LoadEntityByKey(CryptoGateway.RDB.Data.AspNetMember.CallContext,System.String,System.String)" /><meta name="Description" content="Load an entity from the entity set having specified primary key(s): { , }." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="CryptoGateway.RDB.Data.AspNetMember" /><meta name="file" content="516d76c1-4857-b940-7329-48a360220dde" /><meta name="guid" content="516d76c1-4857-b940-7329-48a360220dde" /><link type="text/css" rel="stylesheet" href="ms-help://Hx/HxRuntime/HxLink.css" /><meta name="SelfBranded" content="true" /></head><body onload="onLoad()" class="primary-mtps-offline-document"><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">IUserAppMemberService<span id="ID0EBBABAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBABAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>LoadEntityByKey Method </td><td class="OH_tdRunningTitleColumn">Service Proxy API for Membership data sources</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[This is preliminary documentation and is subject to change.]</p><div class="summary">
Load an entity from the entity set having specified primary key(s): { <a href="7687d58c-97e9-35f6-21f6-7940c3aa5c0b.htm" target="">ApplicationID</a>, <a href="4db669ca-d7c9-8217-90bc-aafc3d00b9f9.htm" target="">UserID</a> }.
</div><p></p><b>Namespace:</b> <a href="9b9992ae-86cf-af3e-5eb6-8fad208413c4.htm" target="">CryptoGateway.RDB.Data.AspNetMember</a><br /><b>Assembly:</b> <span sdata="assembly">AspNetMemberShared</span> (in AspNetMemberShared.dll) Version: 0.0.0.0<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Syntax</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div id="snippetGroup_Syntax" class="code"><div id="ID0EDGCAAAAA" class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs" id="ID0EDGCAAAAA_tabs"><div class="OH_CodeSnippetContainerTabLeftActive" id="ID0EDGCAAAAA_tabimgleft"></div><div id="ID0EDGCAAAAA_tab1" class="OH_CodeSnippetContainerTabActive" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGCAAAAA','C#','1','4');return false;">C#</a></div><div id="ID0EDGCAAAAA_tab2" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGCAAAAA','Visual Basic','2','4');return false;">VB</a></div><div id="ID0EDGCAAAAA_tab3" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGCAAAAA','Visual C++','3','4');return false;">C++</a></div><div id="ID0EDGCAAAAA_tab4" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGCAAAAA','F#','4','4');return false;">F#</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0EDGCAAAAA_tabimgright"></div></div><div id="ID0EDGCAAAAA_codecollection" class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0EDGCAAAAA_ViewColorized" href="#" onclick="javascript:ExchangeTitleContent('ID0EDGCAAAAA','4')" title="View Colorized" style="display: none">View Colorized</a><a id="ID0EDGCAAAAA_copycode" href="#" onclick="javascript:CopyToClipboard('ID0EDGCAAAAA','4')" title="Copy to Clipboard">Copy to Clipboard</a><a id="ID0EDGCAAAAA_PrintText" class="OH_PrintText" href="#" onclick="javascript:Print('ID0EDGCAAAAA','4')" title="Print">Print</a></div></div><div id="ID0EDGCAAAAA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre>[<span class="identifier">OperationContractAttribute</span>]
[<span class="identifier">WebInvokeAttribute</span>(Method = "POST", RequestFormat = <span class="identifier">WebMessageFormat</span>.Json,
ResponseFormat = <span class="identifier">WebMessageFormat</span>.Json, BodyStyle = <span class="identifier">WebMessageBodyStyle</span>.Wrapped,
UriTemplate = "/LoadEntityByKey")]
<span class="identifier">UserAppMember</span> <span class="identifier">LoadEntityByKey</span>(
<span class="identifier">CallContext</span> <span class="parameter">cntx</span>,
<span class="identifier">string</span> <span class="parameter">_ApplicationID</span>,
<span class="identifier">string</span> <span class="parameter">_UserID</span>
)</pre></div><div id="ID0EDGCAAAAA_code_Plain_Div1" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/LoadEntityByKey")]
UserAppMember LoadEntityByKey(
CallContext cntx,
string _ApplicationID,
string _UserID
)</pre></div><div id="ID0EDGCAAAAA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><<span class="identifier">OperationContractAttribute</span>>
<<span class="identifier">WebInvokeAttribute</span>(Method := "POST", RequestFormat := <span class="identifier">WebMessageFormat</span>.Json,
ResponseFormat := <span class="identifier">WebMessageFormat</span>.Json, BodyStyle := <span class="identifier">WebMessageBodyStyle</span>.Wrapped,
UriTemplate := "/LoadEntityByKey")>
<span class="keyword">Function</span> <span class="identifier">LoadEntityByKey</span> (
<span class="parameter">cntx</span> <span class="keyword">As</span> <span class="identifier">CallContext</span>,
<span class="parameter">_ApplicationID</span> <span class="keyword">As</span> <span class="identifier">String</span>,
<span class="parameter">_UserID</span> <span class="keyword">As</span> <span class="identifier">String</span>
) <span class="keyword">As</span> <span class="identifier">UserAppMember</span></pre></div><div id="ID0EDGCAAAAA_code_Plain_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", RequestFormat := WebMessageFormat.Json,
ResponseFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/LoadEntityByKey")>
Function LoadEntityByKey (
cntx As CallContext,
_ApplicationID As String,
_UserID As String
) As UserAppMember</pre></div><div id="ID0EDGCAAAAA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<span class="identifier">OperationContractAttribute</span>]
[<span class="identifier">WebInvokeAttribute</span>(Method = L"POST", RequestFormat = <span class="identifier">WebMessageFormat</span>::Json,
ResponseFormat = <span class="identifier">WebMessageFormat</span>::Json, BodyStyle = <span class="identifier">WebMessageBodyStyle</span>::Wrapped,
UriTemplate = L"/LoadEntityByKey")]
<span class="identifier">UserAppMember</span>^ <span class="identifier">LoadEntityByKey</span>(
<span class="identifier">CallContext</span>^ <span class="parameter">cntx</span>,
<span class="identifier">String</span>^ <span class="parameter">_ApplicationID</span>,
<span class="identifier">String</span>^ <span class="parameter">_UserID</span>
)</pre></div><div id="ID0EDGCAAAAA_code_Plain_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[OperationContractAttribute]
[WebInvokeAttribute(Method = L"POST", RequestFormat = WebMessageFormat::Json,
ResponseFormat = WebMessageFormat::Json, BodyStyle = WebMessageBodyStyle::Wrapped,
UriTemplate = L"/LoadEntityByKey")]
UserAppMember^ LoadEntityByKey(
CallContext^ cntx,
String^ _ApplicationID,
String^ _UserID
)</pre></div><div id="ID0EDGCAAAAA_code_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<<span class="identifier">OperationContractAttribute</span>>]
[<<span class="identifier">WebInvokeAttribute</span>(Method = "POST", RequestFormat = <span class="identifier">WebMessageFormat</span>.Json,
ResponseFormat = <span class="identifier">WebMessageFormat</span>.Json, BodyStyle = <span class="identifier">WebMessageBodyStyle</span>.Wrapped,
UriTemplate = "/LoadEntityByKey")>]
<span class="keyword">abstract</span> <span class="identifier">LoadEntityByKey</span> :
<span class="parameter">cntx</span> : <span class="identifier">CallContext</span> *
<span class="parameter">_ApplicationID</span> : <span class="identifier">string</span> *
<span class="parameter">_UserID</span> : <span class="identifier">string</span> <span class="keyword">-></span> <span class="identifier">UserAppMember</span></pre></div><div id="ID0EDGCAAAAA_code_Plain_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<OperationContractAttribute>]
[<WebInvokeAttribute(Method = "POST", RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/LoadEntityByKey")>]
abstract LoadEntityByKey :
cntx : CallContext *
_ApplicationID : string *
_UserID : string -> UserAppMember</pre></div></div></div><script>addSpecificTextLanguageTagSet('ID0EDGCAAAAA');</script></div><div id="parameters"><h4 class="subHeading">Parameters</h4><dl paramName="cntx"><dt><span class="parameter">cntx</span></dt><dd>Type: <a href="1a3658b6-b213-9ff6-572e-f77262c032c5.htm" target="">CryptoGateway.RDB.Data.AspNetMember<span id="ID0EBCACFCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCACFCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>CallContext</a><br /><span>Authenticated caller context object. If cannot be null.</span></dd></dl><dl paramName="_ApplicationID"><dt><span class="parameter">_ApplicationID</span></dt><dd>Type: <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System<span id="ID0EBCABFCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCABFCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>String</a><br /><span>Primary key <a href="7687d58c-97e9-35f6-21f6-7940c3aa5c0b.htm" target="">ApplicationID</a>.</span></dd></dl><dl paramName="_UserID"><dt><span class="parameter">_UserID</span></dt><dd>Type: <img src="./../icons/online_icon.gif" class="OH_offlineIcon" alt="Online" title="Online" /><a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System<span id="ID0EBCAAFCAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCAAFCAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>String</a><br /><span>Primary key <a href="4db669ca-d7c9-8217-90bc-aafc3d00b9f9.htm" target="">UserID</a>.</span></dd></dl></div><h4 class="subHeading">Return Value</h4>Type: <a href="2be680f2-2ab8-6656-b294-b969d95d03ac.htm" target="">UserAppMember</a><br />
Null or the entity found.
<a name="seeAlsoSection"><!----></a><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div><div class="seeAlsoStyle"><a href="1c6efd52-474c-1735-adcc-ec3161ae9bd3.htm" target="">IUserAppMemberService Interface</a></div><div class="seeAlsoStyle"><a href="a8b7dbf1-f158-729a-3a73-b790f1f6560f.htm" target="">IUserAppMemberService Members</a></div><div class="seeAlsoStyle"><a href="9b9992ae-86cf-af3e-5eb6-8fad208413c4.htm" target="">CryptoGateway.RDB.Data.AspNetMember Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"><p /><div class="OH_feedbacklink"><a href="mailto:?subject=Service+Proxy+API+for+Membership+data+sources+IUserAppMemberService.LoadEntityByKey+Method++100+EN-US&body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2c%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2c%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.">Send Feedback</a> on this topic.</div></div></body></html>