46 references to Closing
System.ServiceModel.Primitives (36)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
86
case CommunicationState.
Closing
:
123
case CommunicationState.
Closing
:
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (6)
318
else if (State == CommunicationState.
Closing
)
654
if (State == CommunicationState.
Closing
687
State == CommunicationState.
Closing
)
704
State == CommunicationState.
Closing
)
1130
if ((State == CommunicationState.Opened || State == CommunicationState.
Closing
) &&
1186
if ((channel.State == CommunicationState.Opened || channel.State == CommunicationState.
Closing
) &&
System\ServiceModel\Channels\CommunicationObject.cs (14)
166
_state = CommunicationState.
Closing
;
243
_state = CommunicationState.
Closing
;
294
case CommunicationState.
Closing
:
385
case CommunicationState.
Closing
:
413
if (_state == CommunicationState.Closed || _state == CommunicationState.
Closing
)
452
Fx.Assert(currentState == CommunicationState.
Closing
|| currentState == CommunicationState.Closed || currentState == CommunicationState.Faulted,
478
case CommunicationState.
Closing
:
754
case CommunicationState.
Closing
:
803
case CommunicationState.
Closing
:
837
case CommunicationState.
Closing
:
866
case CommunicationState.
Closing
:
895
case CommunicationState.
Closing
:
924
case CommunicationState.
Closing
:
961
case CommunicationState.
Closing
:
System\ServiceModel\Channels\ReliableChannelBinder.cs (6)
148
State = CommunicationState.
Closing
;
181
if ((State == CommunicationState.
Closing
)
189
State = CommunicationState.
Closing
;
208
else if ((channelState == CommunicationState.
Closing
)
373
else if ((State == CommunicationState.
Closing
)
716
if ((State != CommunicationState.
Closing
)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
215
State == CommunicationState.
Closing
)
232
State == CommunicationState.
Closing
)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
224
State == CommunicationState.
Closing
)
241
State == CommunicationState.
Closing
)
System\ServiceModel\Channels\RequestContextBase.cs (3)
89
_state = CommunicationState.
Closing
;
129
_state = CommunicationState.
Closing
;
182
if (_state == CommunicationState.Closed || _state == CommunicationState.
Closing
)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
144
if (channel.State != CommunicationState.
Closing
&& channel.State != CommunicationState.Closed)
System.ServiceModel.Primitives.Tests (10)
Channels\CommunicationObjectTest.cs (10)
213
Assert.True(data.StateEnterOnClosing == CommunicationState.
Closing
,
216
Assert.True(data.StateLeaveOnClosing == CommunicationState.
Closing
,
220
Assert.True(data.StateEnterOnClose == CommunicationState.
Closing
,
223
Assert.True(data.StateLeaveOnClose == CommunicationState.
Closing
,
227
Assert.True(data.StateEnterOnClosed == CommunicationState.
Closing
,
280
Assert.True(data.StateEnterOnClosing == CommunicationState.
Closing
,
283
Assert.True(data.StateLeaveOnClosing == CommunicationState.
Closing
,
287
Assert.True(data.StateEnterOnBeginClose == CommunicationState.
Closing
,
290
Assert.True(data.StateLeaveOnBeginClose == CommunicationState.
Closing
,
294
Assert.True(data.StateEnterOnClosed == CommunicationState.
Closing
,