11 implementations of State
System.ServiceModel (9)
System\ServiceModel\Channels\CommunicationObject.cs (1)
70
public CommunicationState
State
System\ServiceModel\ClientBase.cs (2)
442
public CommunicationState
State
1253
CommunicationState ICommunicationObject.
State
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1144
public CommunicationState
State
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
236
public CommunicationState
State
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
241
public CommunicationState
State
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
169
public CommunicationState
State
346
public CommunicationState
State
System\ServiceModel\Security\WSTrustChannel.cs (1)
951
public System.ServiceModel.CommunicationState
State
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\AnnouncementClient.cs (1)
261
CommunicationState ICommunicationObject.
State
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
222
CommunicationState ICommunicationObject.
State
81 references to State
SMSvcHost (2)
System\ServiceModel\Activation\WorkerProcess.cs (2)
162
Debug.Print("WorkerProcess.WorkerProcess_Closed() worker leaving: " + processId + " State: " + ((IDuplexContextChannel)sender).
State
);
168
Debug.Print("WorkerProcess.WorkerProcess_Faulted() worker leaving: " + processId + " State: " + ((IDuplexContextChannel)sender).
State
);
System.ServiceModel (69)
System\ServiceModel\Channels\ChannelDemuxer.cs (6)
302
if (this.innerChannel.
State
== CommunicationState.Opened)
516
if (listener.
State
== CommunicationState.Closed || listener.
State
== CommunicationState.Closing)
665
if (this.innerChannel.
State
!= CommunicationState.Opened)
1993
if (listener.
State
== CommunicationState.Closed || listener.
State
== CommunicationState.Closing)
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
76
CommunicationState state = channel.
State
;
111
CommunicationState state = channel.
State
;
System\ServiceModel\Channels\ClientContextProtocol.cs (3)
56
if (this.owner.
State
!= CommunicationState.Created)
217
(this.owner.
State
== CommunicationState.Created))
222
(this.owner.
State
== CommunicationState.Created))
System\ServiceModel\Channels\DatagramAdapter.cs (6)
130
while (this.listener.
State
== CommunicationState.Opened)
442
if (this.channel.
State
== CommunicationState.Opened)
1168
if (channel.
State
== CommunicationState.Created)
1232
if (channel.
State
== CommunicationState.Created)
1399
if (channel.
State
== CommunicationState.Created)
1466
if (channel.
State
== CommunicationState.Created)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
213
if (this.innerInputChannel.
State
== CommunicationState.Opened)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
642
if (pooledChannel.
State
== CommunicationState.Opened)
System\ServiceModel\Channels\OneWayChannelListener.cs (6)
677
&& (this.innerChannelListener.
State
== CommunicationState.Opened);
863
bool canDispatchOnThisThread = (innerChannelListener.
State
!= CommunicationState.Opened);
1262
if (channel.
State
!= CommunicationState.Opened)
1371
startLoop = (this.channel.
State
== CommunicationState.Opened);
1380
startLoop = (this.channel.
State
== CommunicationState.Opened);
1460
if (this.channel.
State
== CommunicationState.Opened)
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1588
if (channel.
State
== CommunicationState.Opened)
System\ServiceModel\Channels\ReliableChannelBinder.cs (10)
329
CommunicationState channelState = channel.
State
;
1534
&& (this.currentChannel.
State
== CommunicationState.Created))
1735
if (this.currentChannel.
State
!= CommunicationState.Faulted)
1804
if (this.currentChannel.
State
== CommunicationState.Faulted)
1844
if (channel.
State
== CommunicationState.Opened)
3798
if (lastIteration || channel.
State
!= CommunicationState.Opened)
3864
if (lastIteration || channel.
State
!= CommunicationState.Opened)
3980
if (this.lastReceive || this.channel.
State
!= CommunicationState.Opened)
4015
if (this.lastReceive || this.channel.
State
!= CommunicationState.Opened)
4163
if (this.lastReceive || this.channel.
State
!= CommunicationState.Opened)
System\ServiceModel\Channels\ReliableChannelListener.cs (5)
652
(o.
State
== CommunicationState.Opened))
724
&& (this.typedListener.
State
== CommunicationState.Opened))
730
else if (this.typedListener.
State
== CommunicationState.Faulted)
860
while (this.typedListener.
State
== CommunicationState.Opened)
904
else if (this.typedListener.
State
== CommunicationState.Faulted)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (5)
319
if (this.listener.
State
== CommunicationState.Faulted)
371
&& (this.listener.
State
== CommunicationState.Opened))
375
else if (this.listener.
State
== CommunicationState.Faulted)
487
while (this.listener.
State
== CommunicationState.Opened)
530
else if (this.listener.
State
== CommunicationState.Faulted)
System\ServiceModel\Channels\ServiceChannel.cs (3)
80
this.openBinder = (binder.Channel.
State
== CommunicationState.Created);
2685
if (!this.isTimerCancelled && binder.Channel.
State
!= CommunicationState.Faulted && binder.Channel.
State
!= CommunicationState.Closed)
System\ServiceModel\ClientBase.cs (2)
449
return channel.
State
;
1255
get { return ((ICommunicationObject)this.channel).
State
; }
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
245
get { return this.binder.Channel.
State
== CommunicationState.Opened; }
305
if (this.binder.Channel.
State
== CommunicationState.Created)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
316
if (this.channel.
State
== CommunicationState.Faulted)
426
if (this.channel.
State
== CommunicationState.Faulted)
1146
get { return this.innerChannel.
State
; }
System\ServiceModel\Dispatcher\ListenerHandler.cs (5)
165
if (this.acceptedNull || (listener.
State
== CommunicationState.Faulted))
187
if (this.acceptedNull || (listener.
State
== CommunicationState.Faulted))
217
if (this.acceptedNull || (listener.
State
== CommunicationState.Faulted))
434
if (channel.
State
!= CommunicationState.Closing && channel.
State
!= CommunicationState.Closed)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (5)
714
if (this.channelFactory != null && this.channelFactory.
State
== CommunicationState.Opened)
727
if (this.channelFactory != null && this.channelFactory.
State
== CommunicationState.Opened)
751
return (this.channelFactory.
State
!= CommunicationState.Opened);
756
if (this.channelFactory.
State
== CommunicationState.Created)
764
if (this.channelFactory.
State
== CommunicationState.Created)
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
244
get { return _communicationObject.
State
; }
System\ServiceModel\Security\WSTrustChannel.cs (1)
953
get { return Channel.
State
; }
System\ServiceModel\ServiceHost.cs (1)
1120
if (channelDispatcher.
State
== CommunicationState.Opened)
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\InternalSendMessage.cs (4)
1772
if (this.channel.
State
== CommunicationState.Created)
2879
if (result != null && (result.
State
!= CommunicationState.Opened || (serviceChannel != null && serviceChannel.Binder.Channel.State != CommunicationState.Opened)))
2915
bool shouldDispose = channel.
State
!= CommunicationState.Opened;
2967
if (communicationObject.
State
== CommunicationState.Opened)
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\AnnouncementClient.cs (2)
221
if (((ICommunicationObject)this).
State
!= CommunicationState.Created)
265
return InnerCommunicationObject.
State
;
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
226
return this.InnerCommunicationObject.
State
;
System.WorkflowServices (3)
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
380
return this.channel.
State
;
399
if (this.channel.
State
== CommunicationState.Opened)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
73
if (communicationObject.
State
== CommunicationState.Opened)