public static void RegisterWellKnownClientType (Type type, string objectUrl) { if (type == null) throw new ArgumentNullException ("type"); if (objectUrl == null) throw new ArgumentNullException ("objectUrl"); RegisterWellKnownClientType (new WellKnownClientTypeEntry (type, objectUrl)); }