다음을 통해 공유


TeamFoundationRequestContext.Elevate Method

Returns a SystemRequestContext.

If the current context is a system context, it will return itself.

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

Syntax

'Declaration
Public Overridable Function Elevate As TeamFoundationRequestContext
public virtual TeamFoundationRequestContext Elevate()
public:
virtual TeamFoundationRequestContext^ Elevate()
abstract Elevate : unit -> TeamFoundationRequestContext  
override Elevate : unit -> TeamFoundationRequestContext
public function Elevate() : TeamFoundationRequestContext

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
A system request context targeted at the current service host.

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Elevate Overload

Microsoft.TeamFoundation.Framework.Server Namespace