public void CreateServiceContext() { var services = new ServiceContext(); _runtimeService = new RuntimeFrameworkService(); services.Add(_runtimeService); services.ServiceManager.StartServices(); }