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