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
- 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
.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.