2 writes to InstanceContext
System.ServiceModel (2)
System\ServiceModel\ClientBase.cs (1)
1121this.channel.InstanceContext = cf.CallbackInstance;
System\ServiceModel\InstanceContext.cs (1)
335channel.InstanceContext = this;
12 references to InstanceContext
System.ServiceModel (12)
System\ServiceModel\Channels\ServiceChannel.cs (10)
1375if (this.InstanceContext != null && this.InstanceContext.HasTransaction) 1377this.InstanceContext.CompleteAttachedTransaction(); 1443if (this.InstanceContext != null && this.InstanceContext.HasTransaction) 1445this.InstanceContext.CompleteAttachedTransaction(); 1541if (this.InstanceContext != null && this.InstanceContext.State != CommunicationState.Closed && this.InstanceContext.State != CommunicationState.Faulted) 1546this.InstanceContext.OutgoingChannels.Remove((IChannel)this.proxy);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
228get { return (this.channel != null) ? this.channel.InstanceContext : null; }
System\ServiceModel\Dispatcher\PerSessionInstanceContextProvider.cs (1)
31return (serviceChannel != null) ? serviceChannel.InstanceContext : null;