private static CheckNameValueFormat ( string name, string value ) : void | ||
name | string | |
value | string | |
Результат | void |
/// <summary>初始化 <see cref="T:System.Net.Http.Headers.NameValueHeaderValue" /> 类的新实例。</summary> /// <param name="name">标头名称。</param> /// <param name="value">标头值。</param> public NameValueHeaderValue(string name, string value) { NameValueHeaderValue.CheckNameValueFormat(name, value); this._name = name; this._value = value; }