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
- 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.