WindowsCredential Constructor (ICredentials)
Initializes a new WindowsCredential instance using a default user interface provider implementation and the specified network credentials.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
credentials As ICredentials _
)
public WindowsCredential(
ICredentials credentials
)
public:
WindowsCredential(
ICredentials^ credentials
)
new :
credentials:ICredentials -> WindowsCredential
public function WindowsCredential(
credentials : ICredentials
)
Parameters
credentials
Type: System.Net.ICredentialsThe windows credentials which should be used for authentication
.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.