Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Uri for this ___location service for this host. It will attempt to retrieve the ___location given the access mapping provided.
If the ___location service could not be resolved using the access mapping it will then return the first access mapping. If there are no access mappings available for the ___location service it will throw AccessMappingNotRegisteredException.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetSelfReferenceUri ( _
requestContext As TeamFoundationRequestContext, _
accessMapping As AccessMapping _
) As Uri
public Uri GetSelfReferenceUri(
TeamFoundationRequestContext requestContext,
AccessMapping accessMapping
)
public:
Uri^ GetSelfReferenceUri(
TeamFoundationRequestContext^ requestContext,
AccessMapping^ accessMapping
)
member GetSelfReferenceUri :
requestContext:TeamFoundationRequestContext *
accessMapping:AccessMapping -> Uri
public function GetSelfReferenceUri(
requestContext : TeamFoundationRequestContext,
accessMapping : AccessMapping
) : Uri
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
accessMapping
Type: Microsoft.TeamFoundation.Framework.Server.AccessMappingAccessMapping used to initially retrieve the ___location.
Return Value
Type: System.Uri
The fully qualified URL to the ___location service if registered. Otherwise null.
.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.