Partager via


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

  • defaultValue
    Type: T

Return Value

Type: T
Returns String.

.NET Framework Security

See Also

Reference

ServicingContext Class

Microsoft.TeamFoundation.Framework.Server Namespace