UrlHelperExtensions.TfsLink Method
Namespace: Microsoft.TeamFoundation.Build.Server.Rest
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function TfsLink ( _
urlHelper As UrlHelper, _
requestContext As TeamFoundationRequestContext, _
locationId As Guid, _
routeValues As Object _
) As String
public static string TfsLink(
this UrlHelper urlHelper,
TeamFoundationRequestContext requestContext,
Guid locationId,
Object routeValues
)
[ExtensionAttribute]
public:
static String^ TfsLink(
UrlHelper^ urlHelper,
TeamFoundationRequestContext^ requestContext,
Guid locationId,
Object^ routeValues
)
static member TfsLink :
urlHelper:UrlHelper *
requestContext:TeamFoundationRequestContext *
locationId:Guid *
routeValues:Object -> string
public static function TfsLink(
urlHelper : UrlHelper,
requestContext : TeamFoundationRequestContext,
locationId : Guid,
routeValues : Object
) : String
Parameters
- urlHelper
Type: System.Web.Http.Routing.UrlHelper
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- locationId
Type: System.Guid
- routeValues
Type: System.Object
Return Value
Type: System.String
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type UrlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.