ServerException.FormatUserName Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Dichiarazione
Protected Shared Function FormatUserName ( _
requestContext As TeamFoundationRequestContext, _
userName As String _
) As String
protected static string FormatUserName(
TeamFoundationRequestContext requestContext,
string userName
)
protected:
static String^ FormatUserName(
TeamFoundationRequestContext^ requestContext,
String^ userName
)
static member FormatUserName :
requestContext:TeamFoundationRequestContext *
userName:string -> string
protected static function FormatUserName(
requestContext : TeamFoundationRequestContext,
userName : String
) : String
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- userName
Type: System.String
Return Value
Type: System.String
.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.