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