private static isRestricted ( string name, bool response ) : bool | ||
name | string | |
response | bool | |
리턴 | bool |
private void checkRestricted(string name) { if ((this._internallyUsed ? false : WebHeaderCollection.isRestricted(name, true))) { throw new ArgumentException("This header must be modified with the appropiate property."); } }
public static bool IsRestricted(string headerName, bool response) { return(WebHeaderCollection.isRestricted(WebHeaderCollection.checkName(headerName), response)); }