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