AuthenticationHeaderValue 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 Authorization、ProxyAuthorization、WWW-Authneticate 和 Proxy-Authenticate 标头值中的验证信息。
public ref class AuthenticationHeaderValuepublic ref class AuthenticationHeaderValue : ICloneablepublic class AuthenticationHeaderValuepublic class AuthenticationHeaderValue : ICloneabletype AuthenticationHeaderValue = classtype AuthenticationHeaderValue = class
    interface ICloneablePublic Class AuthenticationHeaderValuePublic Class AuthenticationHeaderValue
Implements ICloneable- 继承
- 
				AuthenticationHeaderValue
- 实现
注解
类 AuthenticationHeaderValue 支持 IETF 在 RFC 2616 中定义的 Authorization、ProxyAuthorization、WWW-Authenticate 和 Proxy-Authenticate HTTP 标头值。
构造函数
| AuthenticationHeaderValue(String) | 初始化 AuthenticationHeaderValue 类的新实例。 | 
| AuthenticationHeaderValue(String, String) | 初始化 AuthenticationHeaderValue 类的新实例。 | 
属性
| Parameter | 获取包含所请求资源的用户代理的身份验证信息的凭据。 | 
| Scheme | 获取用于身份验证的方案。 | 
方法
| Equals(Object) | 确定指定的 Object 是否等于当前的 AuthenticationHeaderValue 对象。 | 
| GetHashCode() | 充当 AuthenticationHeaderValue 对象的哈希函数。 | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| Parse(String) | 将字符串转换为 AuthenticationHeaderValue 实例。 | 
| ToString() | 返回表示当前 AuthenticationHeaderValue 对象的字符串。 | 
| TryParse(String, AuthenticationHeaderValue) | 确定一个字符串是否为有效的 AuthenticationHeaderValue 信息。 | 
显式接口实现
| ICloneable.Clone() | 创建作为当前 AuthenticationHeaderValue 实例副本的新对象。 |