TeamFoundationLocationService.DetermineAccessMapping Method (TeamFoundationRequestContext)
Determines what access mapping this request came from. This is accomplished by comparing the scheme host and port of the incoming request with the location service entries.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function DetermineAccessMapping ( _
requestContext As TeamFoundationRequestContext _
) As AccessMapping
public AccessMapping DetermineAccessMapping(
TeamFoundationRequestContext requestContext
)
public:
virtual AccessMapping^ DetermineAccessMapping(
TeamFoundationRequestContext^ requestContext
) sealed
abstract DetermineAccessMapping :
requestContext:TeamFoundationRequestContext -> AccessMapping
override DetermineAccessMapping :
requestContext:TeamFoundationRequestContext -> AccessMapping
public final function DetermineAccessMapping(
requestContext : TeamFoundationRequestContext
) : AccessMapping
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe current request context.
Return Value
Type: Microsoft.VisualStudio.Services.Location.AccessMapping
The access mapping for this request.
Implements
ITeamFoundationLocationService.DetermineAccessMapping(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
TeamFoundationLocationService Class