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
)
參數
- uri
型別:System.Uri
- failedCred
型別:System.Net.ICredentials
- parentWindowHandle
型別:System.IntPtr
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。