Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new VssClientCredentials instance with the specified windows and issued token credential.
Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    federatedCredential As FederatedCredential, _
    promptType As CredentialPromptType _
)
public VssClientCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    CredentialPromptType promptType
)
public:
VssClientCredentials(
    WindowsCredential^ windowsCredential, 
    FederatedCredential^ federatedCredential, 
    CredentialPromptType promptType
)
new : 
        windowsCredential:WindowsCredential * 
        federatedCredential:FederatedCredential * 
        promptType:CredentialPromptType -> VssClientCredentials
public function VssClientCredentials(
    windowsCredential : WindowsCredential, 
    federatedCredential : FederatedCredential, 
    promptType : CredentialPromptType
)
Parameters
- windowsCredential 
 Type: Microsoft.VisualStudio.Services.Common.WindowsCredential- The windows credential to use for authentication. 
- federatedCredential 
 Type: Microsoft.VisualStudio.Services.Common.FederatedCredential- The federated credential to use for authentication. 
- promptType 
 Type: Microsoft.VisualStudio.Services.Common.CredentialPromptType- CredentialPromptType.PromptIfNeeded if interactive prompts are allowed, otherwise CredentialProptType.DoNotPrompt. 
.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.