2 instantiations of ContextMessageHeader
System.ServiceModel (2)
System\ServiceModel\Channels\ContextProtocol.cs (2)
53
message.Headers.Add(new
ContextMessageHeader
(context.Context));
83
ContextMessageHeader contextHeader = new
ContextMessageHeader
(context.Context);
14 references to ContextMessageHeader
System.ServiceModel (14)
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (5)
52
if (listenAddress != null && listenAddress.Headers.FindHeader(
ContextMessageHeader
.ContextHeaderName,
ContextMessageHeader
.ContextHeaderNamespace) != null)
198
if (builder.Headers[i].Name ==
ContextMessageHeader
.ContextHeaderName && builder.Headers[i].Namespace ==
ContextMessageHeader
.ContextHeaderNamespace)
212
context = (contextHeader != null) ?
ContextMessageHeader
.ParseContextHeader(contextHeader.GetAddressHeaderReader()).Context : null;
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
322
ContextMessageProperty messageProperty =
ContextMessageHeader
.GetContextFromHeaderIfExists(message);
System\ServiceModel\Channels\ContextAddressHeader.cs (3)
24
get { return
ContextMessageHeader
.ContextHeaderName; }
29
get { return
ContextMessageHeader
.ContextHeaderNamespace; }
34
ContextMessageHeader
.WriteHeaderContents(writer, this.context);
System\ServiceModel\Channels\ContextBindingElement.cs (2)
214
return (T)(object)
ContextMessageHeader
.GetChannelProtectionRequirements(this.ProtectionLevel);
219
requirements.Add(
ContextMessageHeader
.GetChannelProtectionRequirements(this.ProtectionLevel));
System\ServiceModel\Channels\ContextProtocol.cs (2)
83
ContextMessageHeader
contextHeader = new ContextMessageHeader(context.Context);
127
context =
ContextMessageHeader
.ParseContextHeader(
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
106
ContextMessageProperty messageContext =
ContextMessageHeader
.GetContextFromHeaderIfExists(message);