共用方式為


VssCredentials Constructor (WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler)

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

Parameters

.NET Framework Security

See Also

Reference

VssCredentials Class

VssCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace