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