给出类似于这样的类的XML注释:
///<summary>Handles the AuthenticateRequest event in the ASP.NET page request lifecycle to authenticate users.</summary>
///<remarks>
///<para>This module will authenticate users based on cookies, form posts, or an impersonation request from the admin system.</para>
///<para>If authentication succeeds, both the <see cref="System.Threading.Thread.CurrentPrincipal" /> and the <see cref="System.Web.HttpContext.User"/> property are set to an instance of <see cref="MyPrincipal"/> representing the authenticated user.</para>
///</remarks>
如何将System.Threading.Thread.CurrentPrincipal
和System.Web.HttpContext.User
的引用链接到框架文档中的相应页面?
答案 0 :(得分:2)
您可以使用href
标记链接到MSDN(或其他任何来源)并执行以下操作:
... both the <see href="http://msdn.microsoft.com/en-us/library/system.threading.thread.currentprincipal.aspx">System.Threading.Thread.CurrentPrincipal</see>...
答案 1 :(得分:1)
基于this url,msdn url cheatsheet
这两个实验应用了从备忘单中学到的东西
链接到1.1版本的frameworkclass
System.Threading.Thread.CurrentPrincipal
链接到frameworkclass的4.0版本