Defines an interface that allows you to get and set the context on the channel.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Thetype exposes the following members.
For channels that use WSHttpContextBinding with the NotAllowed value set, the context cannot be retrieved on the client using because a new channel that establishes a session is created each time GetProperty<T> is called to enforce NotAllowed semantics on a channel. This means that even though the context is properly propagated back to the client in this case, it cannot be retrieved using . You can still retrieve it using ContextMessageProperty as shown in the following code.