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