public CarDownCmd(string communicationUrl) { try { this.guid = new Guid("7B63B735-7FFD-4A0A-82EB-B3EEE8A33B46"); object obj2 = Activator.CreateInstance(Type.GetTypeFromCLSID(this.guid, communicationUrl, true)); this.carFunc = (CarFunc) obj2; } catch (Exception exception) { throw new Exception("初始化通讯服务器结果:" + exception.Message); } }
public CarDownCmd(string communicationUrl) { try { this.guid = new Guid("7B63B735-7FFD-4A0A-82EB-B3EEE8A33B46"); object obj2 = Activator.CreateInstance(Type.GetTypeFromCLSID(this.guid, communicationUrl, true)); this.carFunc = (CarFunc)obj2; } catch (Exception exception) { throw new Exception("初始化通讯服务器结果:" + exception.Message); } }