52 references to State
System.ServiceModel.Primitives (52)
System\ServiceModel\Channels\ReliableChannelBinder.cs (52)
899private State _state = State.Created; 916return (_state == State.ChannelOpened || 917_state == State.ChannelOpening); 937if (_state == State.ChannelOpening) 941else if (_state == State.ChannelOpened) 945_state = State.NoChannel; 950_state = State.ChannelClosing; 981close = _state == State.Closed; 1008if (_state == State.ChannelOpened) 1013if (_state != State.NoChannel) 1063if (_state != State.NoChannel) 1120if (_state == State.ChannelOpened) 1128_state = State.ChannelClosing; 1133_state = State.NoChannel; 1177if (_state != State.ChannelOpening) 1182_state = State.ChannelOpened; 1198close = _state == State.Closed; 1199fault = _state == State.Faulted; 1230if (_state != State.ChannelOpening) 1239_state = State.NoChannel; 1258if ((_state != State.ChannelOpened) && (_state != State.ChannelClosing)) 1265_state = State.ChannelClosing; 1327if ((_state != State.ChannelOpened) && (_state != State.ChannelClosing)) 1336_state = State.ChannelClosing; 1339if (!faultBinder && (_state == State.ChannelClosing) && (_count == 0)) 1345_state = State.NoChannel; 1352_state = State.ChannelOpening; 1397if (_state != State.ChannelOpening && _state != State.NoChannel) 1453if (_state == State.Created) 1455_state = State.NoChannel; 1459if (_state != State.Closed) 1483_state = State.ChannelOpened; 1493if ((_state != State.Faulted) && (_state != State.Closed)) 1495_state = close ? State.Closed : State.Faulted; 1518if (_state == State.Closed) 1559if (_state == State.ChannelOpened) 1571&& ((_state == State.ChannelClosing) 1572|| (_state == State.NoChannel))) 1582|| (_state == State.ChannelOpening) 1583|| (_state == State.ChannelClosing)) 1590if (_state != State.NoChannel) 1599_state = State.ChannelOpening; 1632bool close = _state == State.Closed; 1657if (_state == State.Created) 1662return (_state != State.Closed) && (_state != State.Faulted);