<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>IAspNetMemberService.InitializeCallContext Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="InitializeCallContext method" /><meta name="System.Keywords" content="IAspNetMemberService.InitializeCallContext method" /><meta name="Microsoft.Help.F1" content="CryptoGateway.RDB.Data.AspNetMember.IAspNetMemberService.InitializeCallContext" /><meta name="Microsoft.Help.Id" content="M:CryptoGateway.RDB.Data.AspNetMember.IAspNetMemberService.InitializeCallContext(CryptoGateway.RDB.Data.AspNetMember.CallContext)" /><meta name="Description" content="Initialize or refresh and check the validity of the caller context information of the caller." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="'true'" /><meta name="container" content="CryptoGateway.RDB.Data.AspNetMember" /><meta name="file" content="34319f9a-fec8-9b5a-471a-fdf87427be89" /><meta name="guid" content="34319f9a-fec8-9b5a-471a-fdf87427be89" /><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">IAspNetMemberService<span id="ID0EBBABAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBBABAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>InitializeCallContext 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">
Initialize or refresh and check the validity of the caller context information of the caller.
</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="ID0EDGDAAAAA" class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs" id="ID0EDGDAAAAA_tabs"><div class="OH_CodeSnippetContainerTabLeftActive" id="ID0EDGDAAAAA_tabimgleft"></div><div id="ID0EDGDAAAAA_tab1" class="OH_CodeSnippetContainerTabActive" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGDAAAAA','C#','1','4');return false;">C#</a></div><div id="ID0EDGDAAAAA_tab2" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGDAAAAA','Visual Basic','2','4');return false;">VB</a></div><div id="ID0EDGDAAAAA_tab3" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGDAAAAA','Visual C++','3','4');return false;">C++</a></div><div id="ID0EDGDAAAAA_tab4" class="OH_CodeSnippetContainerTab" EnableCopyCode="true"><a href="#" onclick="javascript:ChangeTab('ID0EDGDAAAAA','F#','4','4');return false;">F#</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0EDGDAAAAA_tabimgright"></div></div><div id="ID0EDGDAAAAA_codecollection" class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0EDGDAAAAA_ViewColorized" href="#" onclick="javascript:ExchangeTitleContent('ID0EDGDAAAAA','4')" title="View Colorized" style="display: none">View Colorized</a><a id="ID0EDGDAAAAA_copycode" href="#" onclick="javascript:CopyToClipboard('ID0EDGDAAAAA','4')" title="Copy to Clipboard">Copy to Clipboard</a><a id="ID0EDGDAAAAA_PrintText" class="OH_PrintText" href="#" onclick="javascript:Print('ID0EDGDAAAAA','4')" title="Print">Print</a></div></div><div id="ID0EDGDAAAAA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre>[<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 = "/InitializeCallContext")]
[<span class="identifier">OperationContractAttribute</span>]
<span class="identifier">CallContext</span> <span class="identifier">InitializeCallContext</span>(
<span class="identifier">CallContext</span> <span class="parameter">cntx</span>
)</pre></div><div id="ID0EDGDAAAAA_code_Plain_Div1" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[WebInvokeAttribute(Method = "POST", RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/InitializeCallContext")]
[OperationContractAttribute]
CallContext InitializeCallContext(
CallContext cntx
)</pre></div><div id="ID0EDGDAAAAA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><<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 := "/InitializeCallContext")>
<<span class="identifier">OperationContractAttribute</span>>
<span class="keyword">Function</span> <span class="identifier">InitializeCallContext</span> (
<span class="parameter">cntx</span> <span class="keyword">As</span> <span class="identifier">CallContext</span>
) <span class="keyword">As</span> <span class="identifier">CallContext</span></pre></div><div id="ID0EDGDAAAAA_code_Plain_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre><WebInvokeAttribute(Method := "POST", RequestFormat := WebMessageFormat.Json,
ResponseFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/InitializeCallContext")>
<OperationContractAttribute>
Function InitializeCallContext (
cntx As CallContext
) As CallContext</pre></div><div id="ID0EDGDAAAAA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<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"/InitializeCallContext")]
[<span class="identifier">OperationContractAttribute</span>]
<span class="identifier">CallContext</span>^ <span class="identifier">InitializeCallContext</span>(
<span class="identifier">CallContext</span>^ <span class="parameter">cntx</span>
)</pre></div><div id="ID0EDGDAAAAA_code_Plain_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[WebInvokeAttribute(Method = L"POST", RequestFormat = WebMessageFormat::Json,
ResponseFormat = WebMessageFormat::Json, BodyStyle = WebMessageBodyStyle::Wrapped,
UriTemplate = L"/InitializeCallContext")]
[OperationContractAttribute]
CallContext^ InitializeCallContext(
CallContext^ cntx
)</pre></div><div id="ID0EDGDAAAAA_code_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<<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 = "/InitializeCallContext")>]
[<<span class="identifier">OperationContractAttribute</span>>]
<span class="keyword">abstract</span> <span class="identifier">InitializeCallContext</span> :
<span class="parameter">cntx</span> : <span class="identifier">CallContext</span> <span class="keyword">-></span> <span class="identifier">CallContext</span></pre></div><div id="ID0EDGDAAAAA_code_Plain_Div4" class="OH_CodeSnippetContainerCode" style="display: none"><pre>[<WebInvokeAttribute(Method = "POST", RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/InitializeCallContext")>]
[<OperationContractAttribute>]
abstract InitializeCallContext :
cntx : CallContext -> CallContext</pre></div></div></div><script>addSpecificTextLanguageTagSet('ID0EDGDAAAAA');</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="ID0EBCAAFDAAAAA"> </span><script type="text/javascript">
addToLanSpecTextIdSet("ID0EBCAAFDAAAAA?vb=.|cpp=::|cs=.|fs=.|nu=.");
</script>CallContext</a><br /><span>Authenticated caller context object. If cannot be null.</span></dd></dl></div><h4 class="subHeading">Return Value</h4>Type: <a href="1a3658b6-b213-9ff6-572e-f77262c032c5.htm" target="">CallContext</a><br />
An initialized and refreshed caller context object used for subsequent API calls. Supplying an invalid caller context will
result in a deny of the service.
<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Remarks</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"></div>
Note: The current version of the system does not validate the returned caller context object.
Therefore care must be taken to limit the access to the service to trusted nodes or users within a secured network environment.
<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="8d36ab11-cf35-a076-72e5-649742c12d07.htm" target="">IAspNetMemberService Interface</a></div><div class="seeAlsoStyle"><a href="234bf91c-9cbb-f005-664b-17ef631db330.htm" target="">IAspNetMemberService 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+IAspNetMemberService.InitializeCallContext+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>