VssCredentials.LoadCachedCredentials 方法 (String, Uri, Boolean, CredentialPromptType, String, Boolean)
命名空間: Microsoft.VisualStudio.Services.Common
組件: Microsoft.VisualStudio.Services.Common (在 Microsoft.VisualStudio.Services.Common.dll 中)
語法
'宣告
Public Shared Function LoadCachedCredentials ( _
featureRegistryKeyword As String, _
serverUrl As Uri, _
requireExactMatch As Boolean, _
promptType As CredentialPromptType, _
registryRootPath As String, _
useWOW6432Hive As Boolean _
) As VssCredentials
public static VssCredentials LoadCachedCredentials(
string featureRegistryKeyword,
Uri serverUrl,
bool requireExactMatch,
CredentialPromptType promptType,
string registryRootPath,
bool useWOW6432Hive
)
參數
- featureRegistryKeyword
類型:System.String
- serverUrl
類型:System.Uri
- requireExactMatch
類型:System.Boolean
- registryRootPath
類型:System.String
- useWOW6432Hive
類型:System.Boolean
傳回值
類型:Microsoft.VisualStudio.Services.Common.VssCredentials
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。