private AmNetInterfaceState GetNicState(string nicName) { AmNetInterfaceState result = AmNetInterfaceState.Unknown; IAmCluster cluster = this.GetCluster(); if (cluster != null) { Exception ex; result = cluster.GetNetInterfaceState(nicName, out ex); if (ex != null) { AmNetworkMonitor.Tracer.TraceError <string, Exception>(0L, "Failed to get state for nic '{0}': {1}", nicName, ex); this.TriggerClusterRefresh("GetNicState failed"); } } return(result); }