1 write to InstanceContext
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (1)
100
this.
InstanceContext
= instanceContext;
20 references to InstanceContext
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (3)
83
ConcurrencyInstanceContextFacet resource = rpc.
InstanceContext
.Concurrency;
84
lock (rpc.
InstanceContext
.ThisLock)
108
ConcurrencyBehavior.UnlockInstance(rpc.
InstanceContext
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
257
if (!rpc.
InstanceContext
.IncomingChannels.Contains(proxy))
823
rpc.
InstanceContext
.FaultInternal();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InstanceBehavior.cs (10)
32
InstanceContext context = rpc.
InstanceContext
;
53
if (rpc.
InstanceContext
== null)
58
rpc.OperationContext.SetInstanceContext(rpc.
InstanceContext
);
59
rpc.
InstanceContext
.Behavior = this;
61
if (rpc.
InstanceContext
.State == CommunicationState.Created)
63
lock (rpc.
InstanceContext
.ThisLock)
65
if (rpc.
InstanceContext
.State == CommunicationState.Created)
67
rpc.
InstanceContext
.Open(rpc.Channel.CloseTimeout);
71
rpc.
InstanceContext
.BindRpc(ref rpc);
101
rpc.Instance = rpc.
InstanceContext
.GetServiceInstance(rpc.Request);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (3)
268
if (this.
InstanceContext
!= null && !_isInstanceContextSingleton)
272
this.
InstanceContext
.Abort();
548
return _rpc.
InstanceContext
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ThreadBehavior.cs (1)
71
SynchronizationContext syncContext = GetSyncContext(rpc.
InstanceContext
);
FrameworkFork\System.ServiceModel\System\ServiceModel\InstanceContext.cs (1)
290
if (rpc.
InstanceContext
== this && rpc.SuccessfullyBoundInstance)