5 references to SetStateBehavior
System.ServiceModel (5)
System\ServiceModel\Channels\PeerNeighborManager.cs (5)
958
SetState(value,
SetStateBehavior
.ThrowException);
1197
SetState(PeerNeighborState.Opened,
SetStateBehavior
.TrySet);
1248
bool SetState(PeerNeighborState newState,
SetStateBehavior
behavior)
1257
if (behavior ==
SetStateBehavior
.ThrowException)
1294
return SetState(newState,
SetStateBehavior
.TrySet);