4 writes to version
System.ServiceModel (4)
System\ServiceModel\Channels\MessageHeaders.cs (4)
102
this.
version
= version;
1155
this.
version
= version;
1163
this.
version
= version;
1171
this.
version
= version;
54 references to version
System.ServiceModel (54)
System\ServiceModel\Channels\MessageHeaders.cs (54)
115
Init(collection.
version
, collection.headers.Length);
132
return ActionHeader.ReadHeaderValue(reader,
version
.Addressing);
138
SetActionHeader(ActionHeader.Create(value,
version
.Addressing));
176
return FaultToHeader.ReadHeaderValue(reader,
version
.Addressing);
182
SetFaultToHeader(FaultToHeader.Create(value,
version
.Addressing));
200
return FromHeader.ReadHeaderValue(reader,
version
.Addressing);
206
SetFromHeader(FromHeader.Create(value,
version
.Addressing));
239
return MessageIDHeader.ReadHeaderValue(reader,
version
.Addressing);
245
SetMessageIDHeader(MessageIDHeader.Create(value,
version
.Addressing));
253
get { return
version
; }
280
return ReplyToHeader.ReadHeaderValue(reader,
version
.Addressing);
286
SetReplyToHeader(ReplyToHeader.Create(value,
version
.Addressing));
304
return ToHeader.ReadHeaderValue(reader,
version
.Addressing);
310
SetToHeader(ToHeader.Create(value,
version
.Addressing));
445
return new BufferedHeader(
version
, buffer, 0, headerInfo);
455
return new BufferedHeader(
version
, buffer, 0, headerInfo);
462
writeableHeader.WriteHeader(writer, this.
version
);
465
return new BufferedHeader(
version
, buffer, 0, writeableHeader);
491
if (collection.
version
!=
version
)
494
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MessageHeaderVersionMismatch, collection.
version
.ToString(),
version
.ToString()), "collection"));
584
SR.GetString(SR.MultipleMessageHeaders, name, this.
version
.Addressing.Namespace),
586
this.
version
.Addressing.Namespace,
597
if (ns == this.
version
.Addressing.Namespace)
603
return FindNonAddressingHeader(name, ns,
version
.Envelope.UltimateDestinationActorValues);
725
this.
version
.Addressing.Namespace,
885
if (headerInfo.Namespace == this.
version
.Addressing.Namespace)
887
if (
version
.Envelope.IsUltimateDestinationActor(headerInfo.Actor))
943
if (this.
version
.Envelope == EnvelopeVersion.None)
948
new InvalidOperationException(SR.GetString(SR.HeadersCannotBeAddedToEnvelopeVersion, this.
version
.Envelope)));
952
if (this.
version
.Addressing == AddressingVersion.None)
957
new InvalidOperationException(SR.GetString(SR.AddressingHeadersCannotBeAddedToAddressingVersion, this.
version
.Addressing)));
1010
RelatesToHeader.ReadHeaderValue(reader,
version
.Addressing, out relationshipType, out messageId);
1114
return HaveMandatoryHeadersBeenUnderstood(
version
.Envelope.MustUnderstandActorValues);
1218
if (!header.IsMessageVersionSupported(this.
version
))
1220
header.GetType().FullName, this.
version
.Envelope.ToString()), "header"));
1308
if (this.
version
.Addressing == AddressingVersion.None && reader.NamespaceURI == AddressingVersion.None.Namespace)
1311
new InvalidOperationException(SR.GetString(SR.AddressingHeadersCannotBeAddedToAddressingVersion, this.
version
.Addressing)));
1314
MessageHeader.GetHeaderAttributes(reader,
version
, out actor, out mustUnderstand, out relay, out isRefParam);
1319
if (
version
.Envelope.IsUltimateDestinationActor(actor))
1321
Fx.Assert(
version
.Addressing.DictionaryNamespace != null, "non-None Addressing requires a non-null DictionaryNamespace");
1322
kind = (HeaderKind)reader.IndexOfLocalName(localNames,
version
.Addressing.DictionaryNamespace);
1326
info = ToHeader.ReadHeader(reader,
version
.Addressing, recycledMessageState.UriCache, actor, mustUnderstand, relay);
1329
info = ActionHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1332
info = MessageIDHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1335
info = RelatesToHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1338
info = ReplyToHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1341
info = FromHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1344
info = FaultToHeader.ReadHeader(reader,
version
.Addressing, actor, mustUnderstand, relay);
1469
SetActionHeader(ActionHeader.Create(action,
version
.Addressing));
1502
relatesToHeader = RelatesToHeader.Create(messageId,
version
.Addressing, relationshipType);
1597
headers[headerIndex].MessageHeader.WriteStartHeader(writer, this.
version
);
1629
headers[headerIndex].MessageHeader.WriteHeaderContents(writer, this.
version
);