/// <summary> /// 取消注册双向回调实例 /// </summary> /// <typeparam name="TContract">回调契约类型</typeparam> /// <param name="clientHostName">客户端主机唯一识别名</param> public static void UnregisterCallback <TContract>(string clientHostName) where TContract : class { transporter.UnregisterCallback <TContract>(clientHostName); }