OAuthTokenCredential Constructor (OAuthTokenContainer)
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
initialToken As OAuthTokenContainer _
)
public OAuthTokenCredential(
OAuthTokenContainer initialToken
)
public:
OAuthTokenCredential(
OAuthTokenContainer^ initialToken
)
new :
initialToken:OAuthTokenContainer -> OAuthTokenCredential
public function OAuthTokenCredential(
initialToken : OAuthTokenContainer
)
Parameters
- initialToken
Type: Microsoft.TeamFoundation.Client.OAuthTokenContainer
.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.