void ThrowUnsupportException(string method) { string msg = string.Format("'{0}' command is not possible with Web proxy.", method); throw new InvalidOperationException(msg); }