1 instantiation of CallbackContextMessageHeader
System.ServiceModel (1)
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
176
message.Headers.Add(new
CallbackContextMessageHeader
(callbackAddress, message.Version.Addressing));
7 references to CallbackContextMessageHeader
System.ServiceModel (7)
System\ServiceModel\Channels\ClientContextProtocol.cs (4)
109
if (message.Headers.FindHeader(
CallbackContextMessageHeader
.CallbackContextHeaderName,
CallbackContextMessageHeader
.CallbackContextHeaderNamespace) != -1)
111
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ProtocolException(SR.GetString(SR.CallbackContextNotExpectedOnIncomingMessageAtClient, message.Headers.Action,
CallbackContextMessageHeader
.CallbackContextHeaderName,
CallbackContextMessageHeader
.CallbackContextHeaderNamespace)));
System\ServiceModel\Channels\ServiceContextProtocol.cs (3)
38
int headerIndex = message.Headers.FindHeader(
CallbackContextMessageHeader
.CallbackContextHeaderName,
CallbackContextMessageHeader
.CallbackContextHeaderNamespace);
41
CallbackContextMessageProperty property =
CallbackContextMessageHeader
.ParseCallbackContextHeader(message.Headers.GetReaderAtHeader(headerIndex), message.Version.Addressing);