Partager via


VssCredentials Constructor (WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler, IVssCredentialPrompt)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    federatedCredential As FederatedCredential, _
    promptType As CredentialPromptType, _
    scheduler As TaskScheduler, _
    credentialPrompt As IVssCredentialPrompt _
)
public VssCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    CredentialPromptType promptType,
    TaskScheduler scheduler,
    IVssCredentialPrompt credentialPrompt
)
public:
VssCredentials(
    WindowsCredential^ windowsCredential, 
    FederatedCredential^ federatedCredential, 
    CredentialPromptType promptType, 
    TaskScheduler^ scheduler, 
    IVssCredentialPrompt^ credentialPrompt
)
new : 
        windowsCredential:WindowsCredential * 
        federatedCredential:FederatedCredential * 
        promptType:CredentialPromptType * 
        scheduler:TaskScheduler * 
        credentialPrompt:IVssCredentialPrompt -> VssCredentials
public function VssCredentials(
    windowsCredential : WindowsCredential, 
    federatedCredential : FederatedCredential, 
    promptType : CredentialPromptType, 
    scheduler : TaskScheduler, 
    credentialPrompt : IVssCredentialPrompt
)

Parameters

.NET Framework Security

See Also

Reference

VssCredentials Class

VssCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace