ServicingContext.ParseToken<T> Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function ParseToken(Of T) ( _
tokenName As String, _
defaultValue As T _
) As T
public T ParseToken<T>(
string tokenName,
T defaultValue
)
public:
generic<typename T>
T ParseToken(
String^ tokenName,
T defaultValue
)
member ParseToken :
tokenName:string *
defaultValue:'T -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- tokenName
Type: System.String
- defaultValue
Type: T
Return Value
Type: T
Returns 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.