42 references to Opening
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingChannels.cs (1)
325
if (State != CommunicationState.
Opening
)
System.ServiceModel.Primitives (31)
System\ServiceModel\ChannelFactory.cs (3)
37
if (State == CommunicationState.Created || State == CommunicationState.
Opening
)
172
Fx.Assert(State == CommunicationState.Created || State == CommunicationState.
Opening
, "");
181
Fx.Assert(State == CommunicationState.Created || State == CommunicationState.
Opening
, "");
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
84
case CommunicationState.
Opening
:
121
case CommunicationState.
Opening
:
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (2)
206
|| (currentState == CommunicationState.
Opening
)
411
if (State == CommunicationState.
Opening
)
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (2)
685
if (State == CommunicationState.
Opening
||
702
if (State == CommunicationState.
Opening
||
System\ServiceModel\Channels\CommunicationObject.cs (12)
252
case CommunicationState.
Opening
:
379
case CommunicationState.
Opening
:
517
_state = CommunicationState.
Opening
;
687
if (Aborted || _state != CommunicationState.
Opening
)
748
case CommunicationState.
Opening
:
797
case CommunicationState.
Opening
:
831
case CommunicationState.
Opening
:
860
case CommunicationState.
Opening
:
889
case CommunicationState.
Opening
:
918
case CommunicationState.
Opening
:
940
if (_state == CommunicationState.Created || _state == CommunicationState.
Opening
)
955
case CommunicationState.
Opening
:
System\ServiceModel\Channels\ReliableChannelBinder.cs (5)
203
|| (channelState == CommunicationState.
Opening
)
495
if (State == CommunicationState.
Opening
)
510
if ((State == CommunicationState.
Opening
)
534
State = CommunicationState.
Opening
;
678
if (State == CommunicationState.
Opening
)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
213
if (State == CommunicationState.
Opening
||
230
if (State == CommunicationState.
Opening
||
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
222
if (State == CommunicationState.
Opening
||
239
if (State == CommunicationState.
Opening
||
System\ServiceModel\Channels\ServiceChannel.cs (1)
1146
if (State == CommunicationState.
Opening
)
System.ServiceModel.Primitives.Tests (10)
Channels\CommunicationObjectTest.cs (10)
192
Assert.True(data.StateEnterOnOpening == CommunicationState.
Opening
,
195
Assert.True(data.StateLeaveOnOpening == CommunicationState.
Opening
,
199
Assert.True(data.StateEnterOnOpen == CommunicationState.
Opening
,
202
Assert.True(data.StateLeaveOnOpen == CommunicationState.
Opening
,
206
Assert.True(data.StateEnterOnOpened == CommunicationState.
Opening
,
259
Assert.True(data.StateEnterOnOpening == CommunicationState.
Opening
,
262
Assert.True(data.StateLeaveOnOpening == CommunicationState.
Opening
,
266
Assert.True(data.StateEnterOnBeginOpen == CommunicationState.
Opening
,
269
Assert.True(data.StateLeaveOnBeginOpen == CommunicationState.
Opening
,
273
Assert.True(data.StateEnterOnOpened == CommunicationState.
Opening
,