TfsClientCredentials Constructor (WindowsCredential, FederatedCredential)
Initializes a new TfsClientCredentials instance with the specified windows and issued token credential.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
windowsCredential As WindowsCredential, _
federatedCredential As FederatedCredential _
)
public TfsClientCredentials(
WindowsCredential windowsCredential,
FederatedCredential federatedCredential
)
public:
TfsClientCredentials(
WindowsCredential^ windowsCredential,
FederatedCredential^ federatedCredential
)
new :
windowsCredential:WindowsCredential *
federatedCredential:FederatedCredential -> TfsClientCredentials
public function TfsClientCredentials(
windowsCredential : WindowsCredential,
federatedCredential : FederatedCredential
)
Parameters
windowsCredential
Type: Microsoft.TeamFoundation.Client.WindowsCredentialThe windows credential to use for authentication
federatedCredential
Type: Microsoft.TeamFoundation.Client.FederatedCredentialThe federated credential to use for authentication
.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.