VssTokenStorage.Add Method
Namespace: Microsoft.VisualStudio.Services.Common.TokenStorage
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Function Add ( _
tokenKey As VssTokenKey, _
tokenValue As String _
) As VssToken
public VssToken Add(
VssTokenKey tokenKey,
string tokenValue
)
public:
VssToken^ Add(
VssTokenKey^ tokenKey,
String^ tokenValue
)
member Add :
tokenKey:VssTokenKey *
tokenValue:string -> VssToken
public function Add(
tokenKey : VssTokenKey,
tokenValue : String
) : VssToken
Parameters
- tokenValue
Type: System.String
Return Value
Type: Microsoft.VisualStudio.Services.Common.TokenStorage.VssToken
.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.
See Also
Reference
Microsoft.VisualStudio.Services.Common.TokenStorage Namespace