VssCredentials Constructor (WindowsCredential, CredentialPromptType)
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Sub New ( _
windowsCredential As WindowsCredential, _
promptType As CredentialPromptType _
)
public VssCredentials(
WindowsCredential windowsCredential,
CredentialPromptType promptType
)
public:
VssCredentials(
WindowsCredential^ windowsCredential,
CredentialPromptType promptType
)
new :
windowsCredential:WindowsCredential *
promptType:CredentialPromptType -> VssCredentials
public function VssCredentials(
windowsCredential : WindowsCredential,
promptType : CredentialPromptType
)
Parameters
- windowsCredential
Type: Microsoft.VisualStudio.Services.Common.WindowsCredential
- promptType
Type: Microsoft.VisualStudio.Services.Common.CredentialPromptType
.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.