TeamFoundationRequestContext.CreateImpersonationContext Method (TeamFoundationServiceHost)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

CreateImpersonationContext Overload

Microsoft.TeamFoundation.Framework.Server Namespace