共用方式為


IUICredentialsProvider.GetCredentials 方法 (Uri, ICredentials, String, String, IntPtr)

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Function GetCredentials ( _
    uri As Uri, _
    failedCredentials As ICredentials, _
    caption As String, _
    messageText As String, _
    parentWindowHandle As IntPtr _
) As ICredentials
ICredentials GetCredentials(
    Uri uri,
    ICredentials failedCredentials,
    string caption,
    string messageText,
    IntPtr parentWindowHandle
)

參數

傳回值

型別:System.Net.ICredentials

.NET Framework 安全性

請參閱

參考

IUICredentialsProvider 介面

GetCredentials 多載

Microsoft.TeamFoundation.Client 命名空間