This function assumes the name passed in will either be the friendly name of the server or the url to the root of the collection. Url's fully qualified to the ___location service page should not be passed in here.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
Protected Shared Function GetFullyQualifiedUriForName ( _
name As String, _
locationServiceRelativePath As String, _
getRegisteredUri As Func(Of String, Uri) _
) As Uri
protected static Uri GetFullyQualifiedUriForName(
string name,
string locationServiceRelativePath,
Func<string, Uri> getRegisteredUri
)
protected:
static Uri^ GetFullyQualifiedUriForName(
String^ name,
String^ locationServiceRelativePath,
Func<String^, Uri^>^ getRegisteredUri
)
static member GetFullyQualifiedUriForName :
name:string *
locationServiceRelativePath:string *
getRegisteredUri:Func<string, Uri> -> Uri
protected static function GetFullyQualifiedUriForName(
name : String,
locationServiceRelativePath : String,
getRegisteredUri : Func<String, Uri>
) : Uri
Parameters
- name
Type: System.String
- locationServiceRelativePath
Type: System.String
- getRegisteredUri
Type: System.Func<String, Uri>
Return Value
Type: System.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.