System::Net::CredentialCache::Remove 方法

CredentialCache::Remove(String, int32_t, String) method

移除指定主机名、端口和身份验证类型的网络凭据。

void System::Net::CredentialCache::Remove(String host, int32_t port, String authenticationType)
ParameterType描述
host字符串与凭据关联的主机名。
portint32_t端口号。
authenticationType字符串一种身份验证类型。

另见

CredentialCache::Remove(System::SharedPtr<Uri>, String) method

移除指定 URI 前缀和身份验证类型的网络凭据。

void System::Net::CredentialCache::Remove(System::SharedPtr<Uri> uriPrefix, String authenticationType)
ParameterType描述
uriPrefixSystem::SharedPtr<Uri>URI 前缀。
authenticationType字符串身份验证类型。

另见