65 references to Closing
System.ServiceModel (63)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
516
if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.
Closing
)
1993
if (listener.State == CommunicationState.Closed || listener.State == CommunicationState.
Closing
)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
86
case CommunicationState.
Closing
:
123
case CommunicationState.
Closing
:
System\ServiceModel\Channels\CommunicationObject.cs (16)
111
this.state = CommunicationState.
Closing
;
167
this.state = CommunicationState.
Closing
;
211
case CommunicationState.
Closing
:
286
this.state = CommunicationState.
Closing
;
337
case CommunicationState.
Closing
:
442
case CommunicationState.
Closing
:
473
if (this.state == CommunicationState.Closed || this.state == CommunicationState.
Closing
)
521
Fx.Assert(currentState == CommunicationState.
Closing
|| currentState == CommunicationState.Closed || currentState == CommunicationState.Faulted,
547
case CommunicationState.
Closing
:
783
case CommunicationState.
Closing
:
832
case CommunicationState.
Closing
:
866
case CommunicationState.
Closing
:
895
case CommunicationState.
Closing
:
924
case CommunicationState.
Closing
:
953
case CommunicationState.
Closing
:
988
case CommunicationState.
Closing
:
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (2)
113
if (CommunicationState.Closed == this.State || CommunicationState.
Closing
== this.State)
139
if (CommunicationState.Closed == this.State || CommunicationState.
Closing
== this.State)
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
1056
if (this.State == CommunicationState.
Closing
|| this.State == CommunicationState.Closed)
System\ServiceModel\Channels\ReliableChannelBinder.cs (6)
177
this.state = CommunicationState.
Closing
;
310
if ((this.state == CommunicationState.
Closing
)
318
this.state = CommunicationState.
Closing
;
337
else if ((channelState == CommunicationState.
Closing
)
590
else if ((this.state == CommunicationState.
Closing
)
968
if ((this.state != CommunicationState.
Closing
)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (6)
396
else if (this.State == CommunicationState.
Closing
)
726
if (this.State == CommunicationState.
Closing
923
this.State == CommunicationState.
Closing
)
940
this.State == CommunicationState.
Closing
)
1544
if ((this.State == CommunicationState.Opened || this.State == CommunicationState.
Closing
) &&
1624
if ((channel.State == CommunicationState.Opened || channel.State == CommunicationState.
Closing
) &&
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (3)
513
if (this.State == CommunicationState.
Closing
668
else if (this.State == CommunicationState.
Closing
)
1076
else if (this.State == CommunicationState.
Closing
)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
266
this.State == CommunicationState.
Closing
)
283
this.State == CommunicationState.
Closing
)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (3)
591
bool canReply = this.connection.AllAdded && (this.State == CommunicationState.
Closing
);
597
if (this.State == CommunicationState.
Closing
)
1085
else if ((this.State == CommunicationState.
Closing
) && !isLastOnly)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
288
this.State == CommunicationState.
Closing
)
305
this.State == CommunicationState.
Closing
)
System\ServiceModel\Channels\RequestContextBase.cs (3)
106
state = CommunicationState.
Closing
;
151
state = CommunicationState.
Closing
;
200
if (state == CommunicationState.Closed || state == CommunicationState.
Closing
)
System\ServiceModel\Channels\SecurityChannelListener.cs (4)
352
if (this.State == CommunicationState.
Closing
&& this.State == CommunicationState.Closed)
600
if (this.securityListener.State == CommunicationState.Closed || this.securityListener.State == CommunicationState.
Closing
)
685
if (this.State == CommunicationState.Closed || this.State == CommunicationState.
Closing
)
707
if (this.State == CommunicationState.Closed || this.State == CommunicationState.
Closing
)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (3)
266
this.State != CommunicationState.
Closing
&&
546
this.State != CommunicationState.
Closing
&&
576
this.State == CommunicationState.
Closing
||
System\ServiceModel\Channels\SharedConnectionListener.cs (4)
93
if (this.state == CommunicationState.
Closing
||
103
this.state = CommunicationState.
Closing
;
144
Fx.Assert(this.state == CommunicationState.
Closing
,
216
if (this.state == CommunicationState.
Closing
||
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
434
if (channel.State != CommunicationState.
Closing
&& channel.State != CommunicationState.Closed)
System\ServiceModel\InstanceContext.cs (1)
346
if (state == CommunicationState.
Closing
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
821
&& this.communicationObject.State != CommunicationState.
Closing
1232
if (this.State == CommunicationState.Closed || this.State == CommunicationState.
Closing
)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
2931
this.channelFactory.State != CommunicationState.
Closing
)
2954
this.channelFactory.State != CommunicationState.
Closing
)