1 implementation of TrySetState
System.ServiceModel (1)
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1288public bool TrySetState(PeerNeighborState newState)
7 references to TrySetState
System.ServiceModel (7)
System\ServiceModel\Channels\PeerConnector.cs (5)
221if (neighbor.TrySetState(PeerNeighborState.Disconnected)) 275if (!neighbor.TrySetState(PeerNeighborState.Connecting)) 374if (!neighbor.TrySetState(PeerNeighborState.Connected)) 496if (!neighbor.TrySetState(PeerNeighborState.Connected)) 585if (neighbor.TrySetState(PeerNeighborState.Disconnecting))
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
884neighbor.TrySetState(PeerNeighborState.Authenticated);
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
623neighbor.TrySetState(PeerNeighborState.Authenticated);