共用方式為


TFUtil.GetCredentials 方法

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

語法

'宣告
Public Shared Function GetCredentials ( _
    provider As ICredentialsProvider, _
    uri As Uri, _
    failedCred As ICredentials, _
    parentWindowHandle As IntPtr _
) As ICredentials
public static ICredentials GetCredentials(
    ICredentialsProvider provider,
    Uri uri,
    ICredentials failedCred,
    IntPtr parentWindowHandle
)

參數

傳回值

型別:System.Net.ICredentials

.NET Framework 安全性

請參閱

參考

TFUtil 類別

Microsoft.TeamFoundation.Client 命名空間