Delen via


VssClientCredentials Constructor (WindowsCredential, CredentialPromptType)

Initializes a new VssClientCredentials instance with the specified windows credential and default 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, _
    promptType As CredentialPromptType _
)
public VssClientCredentials(
    WindowsCredential windowsCredential,
    CredentialPromptType promptType
)
public:
VssClientCredentials(
    WindowsCredential^ windowsCredential, 
    CredentialPromptType promptType
)
new : 
        windowsCredential:WindowsCredential * 
        promptType:CredentialPromptType -> VssClientCredentials
public function VssClientCredentials(
    windowsCredential : WindowsCredential, 
    promptType : CredentialPromptType
)

Parameters

.NET Framework Security

See Also

Reference

VssClientCredentials Class

VssClientCredentials Overload

Microsoft.VisualStudio.Services.Client Namespace