10

クラスに次のような 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

4

2 に答える 2

1

このURLに基​​づいて、msdnurlチートシート

虎の巻から学んだことを適用したこれらの2つの実験

フレームワーククラスの1.1バージョンへのリンク

System.Threading.Thread.CurrentPrincipal

フレームワーククラスの4.0バージョンへのリンク

System.Threading.Thread.CurrentPrincipal

于 2012-01-08T12:01:41.630 に答える