public HResult SetHost(INiIsolationHost host) { try { Debug.Assert(_host == host); if (_page != null) { return(_page.SetHost(host)); } return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult SetHost(INiIsolationHost host) { try { if (host == null) { throw new ArgumentNullException("host"); } _host = host; return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult SetHost(INiIsolationHost host) { try { Debug.Assert(_host == host); if (_page != null) return _page.SetHost(host); return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }
public HResult SetHost(INiIsolationHost host) { try { if (host == null) throw new ArgumentNullException("host"); _host = host; return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }