VssCredentials Constructor (WindowsCredential, FederatedCredential, 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, _
federatedCredential As FederatedCredential, _
promptType As CredentialPromptType _
)
public VssCredentials(
WindowsCredential windowsCredential,
FederatedCredential federatedCredential,
CredentialPromptType promptType
)
public:
VssCredentials(
WindowsCredential^ windowsCredential,
FederatedCredential^ federatedCredential,
CredentialPromptType promptType
)
new :
windowsCredential:WindowsCredential *
federatedCredential:FederatedCredential *
promptType:CredentialPromptType -> VssCredentials
public function VssCredentials(
windowsCredential : WindowsCredential,
federatedCredential : FederatedCredential,
promptType : CredentialPromptType
)
Parameters
- windowsCredential
Type: Microsoft.VisualStudio.Services.Common.WindowsCredential
- federatedCredential
Type: Microsoft.VisualStudio.Services.Common.FederatedCredential
- 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.