VssClientCredentials Constructor (IVssCredentialPrompt)
Initializes a new VssClientCredentials instance with default credentials and the specified credential prompt.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
credentialPrompt As IVssCredentialPrompt _
)
public VssClientCredentials(
IVssCredentialPrompt credentialPrompt
)
public:
VssClientCredentials(
IVssCredentialPrompt^ credentialPrompt
)
new :
credentialPrompt:IVssCredentialPrompt -> VssClientCredentials
public function VssClientCredentials(
credentialPrompt : IVssCredentialPrompt
)
Parameters
credentialPrompt
Type: Microsoft.VisualStudio.Services.Common.IVssCredentialPromptThe prompt to get credentials.
.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.