共用方式為


UICredentialsProvider.GetCredentials 方法

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

語法

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

參數

傳回值

型別:System.Net.ICredentials

實作

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

.NET Framework 安全性

請參閱

參考

UICredentialsProvider 類別

Microsoft.TeamFoundation.Client 命名空間