TeamFoundationRequestContext.CreateImpersonationContext Method (TeamFoundationServiceHost)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
‘선언
Public Function CreateImpersonationContext ( _
serviceHost As TeamFoundationServiceHost _
) As TeamFoundationRequestContext
public TeamFoundationRequestContext CreateImpersonationContext(
TeamFoundationServiceHost serviceHost
)
public:
TeamFoundationRequestContext^ CreateImpersonationContext(
TeamFoundationServiceHost^ serviceHost
)
member CreateImpersonationContext :
serviceHost:TeamFoundationServiceHost -> TeamFoundationRequestContext
public function CreateImpersonationContext(
serviceHost : TeamFoundationServiceHost
) : TeamFoundationRequestContext
Parameters
- serviceHost
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHost
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationRequestContext Class