Freigeben über


VssClientCredentials Constructor (WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler)

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, _
    scheduler As TaskScheduler _
)
public VssClientCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    CredentialPromptType promptType,
    TaskScheduler scheduler
)
public:
VssClientCredentials(
    WindowsCredential^ windowsCredential, 
    FederatedCredential^ federatedCredential, 
    CredentialPromptType promptType, 
    TaskScheduler^ scheduler
)
new : 
        windowsCredential:WindowsCredential * 
        federatedCredential:FederatedCredential * 
        promptType:CredentialPromptType * 
        scheduler:TaskScheduler -> VssClientCredentials
public function VssClientCredentials(
    windowsCredential : WindowsCredential, 
    federatedCredential : FederatedCredential, 
    promptType : CredentialPromptType, 
    scheduler : TaskScheduler
)

Parameters

.NET Framework Security

See Also

Reference

VssClientCredentials Class

VssClientCredentials Overload

Microsoft.VisualStudio.Services.Client Namespace