TeamFoundationLocationService.MapToRootDomain Method
Given a uri, this method will see if the host matches an alternate domain. If so a new uri will be created that uses the root domain as the host.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function MapToRootDomain ( _
requestContext As TeamFoundationRequestContext, _
inputUri As Uri _
) As Uri
public Uri MapToRootDomain(
TeamFoundationRequestContext requestContext,
Uri inputUri
)
public:
Uri^ MapToRootDomain(
TeamFoundationRequestContext^ requestContext,
Uri^ inputUri
)
member MapToRootDomain :
requestContext:TeamFoundationRequestContext *
inputUri:Uri -> Uri
public function MapToRootDomain(
requestContext : TeamFoundationRequestContext,
inputUri : Uri
) : Uri
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
inputUri
Type: System.UriThe uri to update to the root domain.
Return Value
Type: System.Uri
Returns Uri.
.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.