9 overrides of Properties
System.ServiceModel (7)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1679public override MessageProperties Properties
System\ServiceModel\Channels\ContentOnlyMessage.cs (1)
39public override MessageProperties Properties
System\ServiceModel\Channels\DelegatingMessage.cs (1)
40public override MessageProperties Properties
System\ServiceModel\Channels\Message.cs (3)
1032public override MessageProperties Properties 1370public override MessageProperties Properties 1586public override MessageProperties Properties
System\ServiceModel\Security\ImpersonatingMessage.cs (1)
41public override MessageProperties Properties
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\ByteStreamMessage.cs (1)
209public override MessageProperties Properties
System.ServiceModel.Web (1)
System\ServiceModel\Channels\HttpStreamMessage.cs (1)
70public override MessageProperties Properties
395 references to Properties
System.Data.Services (2)
System\Data\Services\DataService.cs (2)
551message.Properties.Add(WebBodyFormatMessageProperty.Name, new WebBodyFormatMessageProperty(WebContentFormat.Raw)); 555message.Properties.Add(HttpResponseMessageProperty.Name, response);
System.ServiceModel (250)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (6)
668message.Properties.Encoder = this; 708message.Properties.Encoder = this; 749message.Properties.Encoder = this; 863message.Properties.Encoder = this; 923message.Properties.Add(SupportedCompressionTypesMessageProperty, supportedCompressionTypes); 977if (message.Properties.TryGetValue<string>(SupportedCompressionTypesMessageProperty, out acceptEncoding) &&
System\ServiceModel\Channels\BufferedReceiveMessageProperty.cs (2)
62requestMessage.Properties[ChannelHandler.MessageBufferPropertyName] = this.messageBuffer; 70return TryGet(message.Properties, out property);
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (2)
129return TryGet(message.Properties, out contextMessageProperty); 159this.AddOrReplaceInMessageProperties(message.Properties);
System\ServiceModel\Channels\ChannelBindingMessageProperty.cs (2)
58return TryGet(message.Properties, out property); 87AddTo(message.Properties);
System\ServiceModel\Channels\ClientContextProtocol.cs (3)
292if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 368if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out tmpProperty)) 375message.Properties.Add(HttpRequestMessageProperty.Name, property);
System\ServiceModel\Channels\ContextChannelRequestContext.cs (1)
86replyMessage.Properties.Remove(CorrelationCallbackMessageProperty.Name);
System\ServiceModel\Channels\ContextMessageProperty.cs (2)
77return TryGet(message.Properties, out contextMessageProperty); 107this.AddOrReplaceInMessageProperties(message.Properties);
System\ServiceModel\Channels\ContextRequestChannelBase.cs (1)
229this.requestMessage.Properties.Remove(CorrelationCallbackMessageProperty.Name);
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (5)
77return TryGet(message.Properties, out property); 136if (this.data != null && !message.Properties.ContainsKey(CorrelationDataMessageProperty.Name)) 138message.Properties[CorrelationDataMessageProperty.Name] = this.data; 169if (this.data != null && !message.Properties.ContainsKey(CorrelationDataMessageProperty.Name)) 171message.Properties[CorrelationDataMessageProperty.Name] = this.data;
System\ServiceModel\Channels\CorrelationDataMessageProperty.cs (3)
84return TryGet(message.Properties, out property); 115if (message.Properties.TryGetValue(PropertyName, out value)) 131message.Properties[PropertyName] = data;
System\ServiceModel\Channels\CorrelationMessageProperty.cs (1)
124return TryGet(message.Properties, out property);
System\ServiceModel\Channels\DelegatingMessage.cs (1)
42get { return this.innerMessage.Properties; }
System\ServiceModel\Channels\FramingChannels.cs (3)
79message.Properties[ConnectionMessageProperty.Name] = this.connection; 88allowOutputBatching = message.Properties.AllowOutputBatching; 381message.Properties.Security = (SecurityMessageProperty)this.RemoteSecurity.CreateCopy();
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
834if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property)) 1197if (message.Properties.TryGetValue(ConnectionGroupPrefixMessagePropertyName, out property))
System\ServiceModel\Channels\HttpChannelHelpers.cs (14)
296message.Headers.To = message.Properties.Via; 889message.Properties.Add(HttpResponseMessageProperty.Name, responseProperty); 890message.Properties.Via = message.Version.Addressing.AnonymousUri; 1246message.Properties.Add(AddressingProperty.Name, new AddressingProperty(message.Headers)); 1378message.Properties.Add(AddressingProperty.Name, new AddressingProperty(message.Headers)); 1390if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 1452if (!message.Properties.TryGetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name, out httpProperties)) 1455message.Properties.Add(HttpRequestMessageProperty.Name, httpProperties); 2529if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property)) 2962HttpResponseMessageProperty responseProperty = message.Properties.GetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name, true); 3297replyMessage.Properties.Security = securityProperty; 4212message.Properties.Add(HttpRequestMessageProperty.Name, requestProperty); 4213message.Properties.Via = this.httpRequestMessage.RequestUri; 4217message.Properties.Add(property.Key, property.Value);
System\ServiceModel\Channels\HttpPipeline.cs (1)
711HttpResponseMessageProperty property = message.Properties.GetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name);
System\ServiceModel\Channels\HttpRequestContext.cs (8)
193message.Properties.Security = (this.securityProperty != null) ? (SecurityMessageProperty)this.securityProperty.CreateCopy() : null; 209message.Properties.TryGetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name, out httpProperty)) 221message.Properties[EventTraceActivity.Name] = this.eventTraceActivity; 294message.Properties.AllowOutputBatching = false; 476ackMessage.Properties.Add(HttpResponseMessageProperty.Name, httpResponseProperty); 969message.Properties.Add(HttpRequestMessageProperty.Name, requestProperty); 970message.Properties.Via = this.listenerHttpContext.listenerContext.Request.Url; 973message.Properties.Add(RemoteEndpointMessageProperty.Name, remoteEndpointProperty);
System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
146CopyProperties(message.Properties, properties);
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
145HttpRequestMessageProperty property = message.Properties.GetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name);
System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
170HttpResponseMessageProperty property = message.Properties.GetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name);
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
264Uri to = message.Properties.Via;
System\ServiceModel\Channels\Message.cs (2)
62MessageProperties prop = Properties; 72MessageProperties prop = Properties;
System\ServiceModel\Channels\MessageBuffer.cs (3)
93properties = new KeyValuePair<string, object>[message.Properties.Count]; 94((ICollection<KeyValuePair<string, object>>)message.Properties).CopyTo(properties, 0); 151msg.Properties.CopyProperties(properties);
System\ServiceModel\Channels\MsmqDecodeHelper.cs (7)
146message.Properties.Security = securityProperty; 262message.Properties.Security = securityProperty; 264message.Properties[MsmqMessageProperty.Name] = messageProperty; 297message.Properties.Security = (SecurityMessageProperty)securityProperty.CreateCopy(); 299message.Properties[MsmqMessageProperty.Name] = messageProperty; 367message.Properties.Security = securityProperty; 398message.Properties[MsmqIntegrationMessageProperty.Name] = integrationProperty;
System\ServiceModel\Channels\MsmqInputChannelBase.cs (4)
170message.Properties[MsmqMessageProperty.Name] = property; 174message.Properties[MsmqReceiveContext.Name] = this.receiveContextManager.CreateMsmqReceiveContext(msmqMessage.LookupId.Value); 238message.Properties[MsmqMessageProperty.Name] = property; 242message.Properties[MsmqReceiveContext.Name] = this.receiveContextManager.CreateMsmqReceiveContext(msmqMessage.LookupId.Value);
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (2)
129message.Properties[ReceiveContext.Name] = new MsmqSessionReceiveContext(this); 164message.Properties[ReceiveContext.Name] = new MsmqSessionReceiveContext(this);
System\ServiceModel\Channels\MsmqMessageProperty.cs (2)
77if (null == message.Properties) 80return message.Properties[Name] as MsmqMessageProperty;
System\ServiceModel\Channels\MtomMessageEncoder.cs (4)
243message.Properties.Encoder = this; 273message.Properties.Encoder = this; 331message.Properties.Encoder = this; 403message.Properties.Encoder = this;
System\ServiceModel\Channels\OneWayChannelListener.cs (2)
109result.Properties.Add(RequestContextMessageProperty.Name, new RequestContextMessageProperty(context)); 366this.message.Properties.Add(RequestContextMessageProperty.Name, new RequestContextMessageProperty(context));
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
174message.Properties.Via = via;
System\ServiceModel\Channels\PeerFlooder.cs (3)
363peerProperty = (PeerMessageProperty)floodInfo.Properties[PeerStrings.PeerProperty]; 379message.Headers.To = message.Properties.Via = via; 571return message.Properties.ContainsKey(PeerStrings.MessageVerified);
System\ServiceModel\Channels\PeerHelpers.cs (1)
826message.Properties.Add(PeerStrings.PeerProperty, peerProperty);
System\ServiceModel\Channels\PeerInputChannel.cs (1)
154message.Properties.Via = this.via;
System\ServiceModel\Channels\PeerNodeImplementation.cs (3)
358message.Properties.Via = via; 1440Fx.Assert(message.Properties.Via == via, "Via property is inconsistent in Send() case!"); 1477localCopy.Properties.Via = via;
System\ServiceModel\Channels\ReceiveContext.cs (1)
50bool result = TryGet(message.Properties, out property);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (5)
1479request.Properties.AllowOutputBatching = false; 3110message.Properties.AllowOutputBatching = false; 3122message.Properties.AllowOutputBatching = false; 3315message.Properties.AllowOutputBatching = false; 3326message.Properties.AllowOutputBatching = false;
System\ServiceModel\Channels\ReliableOutputConnection.cs (2)
157message.Properties.AllowOutputBatching = false; 199message.Properties.AllowOutputBatching = false;
System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
139request.Properties.AllowOutputBatching = false;
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (2)
95message.Properties.Add(addressedPropertyName, new object()); 306message.Properties.TryGetValue(addressedPropertyName, out property);
System\ServiceModel\Channels\ServiceChannel.cs (2)
1248message.Properties.AllowOutputBatching = true; 1267message.Properties.CopyProperties(context.OutgoingMessageProperties);
System\ServiceModel\Channels\ServiceContextProtocol.cs (6)
42message.Properties.Add(CallbackContextMessageProperty.Name, property); 63if (requestContext.RequestMessage.Properties != null) 65requestUri = requestContext.RequestMessage.Properties.Via; 89if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property)) 125if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out tmpProperty)) 132message.Properties.Add(HttpResponseMessageProperty.Name, property);
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
1094message.Properties.Add(RemoteEndpointMessageProperty.Name, remoteEndpointProperty); 1490message.Properties.Security = (SecurityMessageProperty)security.CreateCopy();
System\ServiceModel\Channels\SingletonConnectionReader.cs (3)
1026message.Properties.Add(RemoteEndpointMessageProperty.Name, remoteEndpointProperty); 1168message.Properties.Via = this.via; 1169message.Properties.Security = (this.security != null) ? (SecurityMessageProperty)this.security.CreateCopy() : null;
System\ServiceModel\Channels\TextMessageEncoder.cs (5)
426message.Properties.Encoder = this; 454message.Properties.Encoder = this; 488message.Properties.Encoder = this; 525message.Properties.Encoder = this; 557message.Properties.Encoder = this;
System\ServiceModel\Channels\TransactionFlowProperty.cs (15)
47if (message.Properties.ContainsKey(PropertyName)) 48return message.Properties[PropertyName] as TransactionMessageProperty; 55if (!message.Properties.ContainsKey(PropertyName)) 58return ((TransactionMessageProperty)message.Properties[PropertyName]).Transaction; 64if (message.Properties.ContainsKey(PropertyName)) 77message.Properties.Add(PropertyName, property); 84message.Properties.Add(PropertyName, property); 120if (message.Properties.ContainsKey(PropertyName)) 121return (TransactionFlowProperty)message.Properties[PropertyName]; 124message.Properties.Add(PropertyName, property); 130if (message.Properties.ContainsKey(PropertyName)) 131return message.Properties[PropertyName] as TransactionFlowProperty; 151if (!message.Properties.ContainsKey(PropertyName)) 154return ((TransactionFlowProperty)message.Properties[PropertyName]).Transaction; 181message.Properties.Add(PropertyName, property);
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
236message.Properties.AllowOutputBatching = false;
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (2)
457message.Properties.Via = this.localVia; 1177allowOutputBatching = message.Properties.AllowOutputBatching;
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
451if (message.Properties.TryGetValue<WebSocketMessageProperty>(WebSocketMessageProperty.Name, out webSocketMessageProperty)) 1012this.AddMessageProperties(message.Properties, result.MessageType);
System\ServiceModel\ComIntegration\MessageUtil.cs (1)
26securityProp = message.Properties.Security;
System\ServiceModel\Description\ServiceMetadataExtension.cs (5)
202if (!request.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property)) 1009string queryString = httpGetRequest.Properties.Via.Query; 1293message.Properties.Add(HttpResponseMessageProperty.Name, responseProperty); 1299HttpResponseMessageProperty httpResponseProperty = (HttpResponseMessageProperty)redirectMessage.Properties[HttpResponseMessageProperty.Name]; 1309message.Properties.Add(HttpResponseMessageProperty.Name, httpResponseProperty);
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (4)
22if (!message.Properties.ContainsKey(EventTraceActivity.Name)) 24message.Properties.Add(EventTraceActivity.Name, activity); 44if (message.Properties.TryGetValue(EventTraceActivity.Name, out property)) 76message.Properties[EventTraceActivity.Name] = eventTraceActivity;
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (4)
271if (this.message.Properties.TryGetValue(AddressingProperty.Name, out property)) 293message.Properties.Remove(AddressingProperty.Name); 301if (this.message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 326if (this.message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property))
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (11)
43if (message.Properties.Encoder != null) 45xml.WriteElementString("Encoder", message.Properties.Encoder.ToString()); 47xml.WriteElementString("AllowOutputBatching", message.Properties.AllowOutputBatching.ToString()); 48if (message.Properties.Security != null && message.Properties.Security.ServiceSecurityContext != null) 51xml.WriteElementString("IsAnonymous", message.Properties.Security.ServiceSecurityContext.IsAnonymous.ToString()); 52bool windowsIdentityUsed = message.Properties.Security.ServiceSecurityContext.WindowsIdentity != null && 53!string.IsNullOrEmpty(message.Properties.Security.ServiceSecurityContext.WindowsIdentity.Name); 58AuthorizationContext authContext = message.Properties.Security.ServiceSecurityContext.AuthorizationContext; 77if (message.Properties.Via != null) 79xml.WriteElementString("Via", message.Properties.Via.ToString());
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
1064message.Properties[TraceUtility.E2EActivityId] = Trace.CorrelationManager.ActivityId; 1147message.Properties[TraceUtility.ActivityIdKey] = activity;
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (1)
105rpc.Request.Properties.Security.ServiceSecurityContext.AuthorizationPolicies = authPolicy;
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
407if (request.RequestMessage.Properties.TryGetValue(MessageBufferPropertyName, out previousBuffer)) 520this.sessionOpenNotification.UpdateMessageProperties(message.Properties);
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
469HttpResponseMessageProperty prop = message.Properties[HttpResponseMessageProperty.Name] as HttpResponseMessageProperty;
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
629SecurityMessageProperty securityContextProperty = rpc.Request.Properties.Security; 854reply.Properties.Add(ImpersonateOnSerializingReplyMessageProperty.Name, new ImpersonateOnSerializingReplyMessageProperty(ref rpc));
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
647SecurityMessageProperty property = reply.Properties.Security;
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (4)
399reply.Properties[CorrelationCallbackMessageProperty.Name] = rpc.CorrelationCallback; 464reply.Properties[CorrelationCallbackMessageProperty.Name] = rpc.CorrelationCallback; 725message.Properties.MergeProperties(context.OutgoingMessageProperties); 870rpc.Reply.Properties[EventTraceActivity.Name] = rpc.EventTraceActivity;
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
460TraceUtility.SetActivityId(this.Request.Properties);
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
428MessageProperties properties = message.Properties; 449MessageProperties properties = message.Properties;
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (1)
42messageRpc.Request.Properties.Remove(ReceiveContext.Name);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
357SecurityMessageProperty securityContextProperty = rpc.Request.Properties.Security;
System\ServiceModel\EndpointAddress.cs (1)
336message.Properties.Via = message.Headers.To;
System\ServiceModel\MsmqIntegration\MsmqIntegrationMessageProperty.cs (2)
18if (null == message.Properties) 21return message.Properties[Name] as MsmqIntegrationMessageProperty;
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
129MessageProperties properties = message.Properties;
System\ServiceModel\OperationContext.cs (1)
255return message.Properties;
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (2)
225SecurityMessageProperty securityProperty = request.Properties.Security; 290SecuritySessionSecurityTokenAuthenticator.RemoveCachedTokensIfRequired(request.Properties.Security);
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
275SecurityMessageProperty serverContextProperty = incomingMessage.Properties.Security;
System\ServiceModel\Security\IdentityVerifier.cs (2)
49if (message.Properties != null) 50securityContextProperty = message.Properties.Security;
System\ServiceModel\Security\ImpersonateOnSerializingReplyMessageProperty.cs (1)
51return TryGet(message.Properties, out property);
System\ServiceModel\Security\ImpersonatingMessage.cs (1)
43get { return this.innerMessage.Properties; }
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
615nextMessage.Properties.CopyProperties(nextMessageProperties);
System\ServiceModel\Security\MessageSecurityProtocol.cs (4)
85if (!this.RequiresOutgoingSecurityProcessing && message.Properties.Security == null) 107if (!this.RequiresOutgoingSecurityProcessing && message.Properties.Security == null) 530if (!this.RequiresOutgoingSecurityProcessing && message.Properties.Security == null) 554if (!this.RequiresOutgoingSecurityProcessing && message.Properties.Security == null)
System\ServiceModel\Security\SecurityMessageProperty.cs (3)
214if (message.Properties != null) 215result = message.Properties.Security; 220message.Properties.Security = result;
System\ServiceModel\Security\SecurityProtocol.cs (4)
496SecurityMessageProperty messageProperty = message.Properties.Security; 554SecurityMessageProperty supportingTokensProperty = message.Properties.Security; 813SecurityUtils.GetIdentityNamesFromContext(verifiedMessage.Properties.Security.ServiceSecurityContext.AuthorizationContext)); 833SecurityMessageProperty security = message.Properties.Security;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
769if (closeMessage.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop)) 776closeMessage.Properties.Add(HttpRequestMessageProperty.Name, rmp);
System\ServiceModel\Security\SecuritySessionFilter.cs (5)
83if (!message.Properties.TryGetValue(SessionContextIdsProperty, out propertyValue)) 99message.Properties.Add(SessionContextIdsProperty, contextIds); 113message.Properties.Remove(SessionContextIdsProperty); 297if (!message.Properties.TryGetValue(SessionContextIdsProperty, out propertyValue)) 335message.Properties.Remove(SessionContextIdsProperty);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (5)
666SecurityMessageProperty securityProperty = request.Properties.Security; 768SecurityMessageProperty supportingTokenProperty = request.Properties.Security; 817RemoveCachedTokensIfRequired(request.Properties.Security); 960RemoveCachedTokensIfRequired(request.Properties.Security); 966SecurityMessageProperty securityProperty = request.Properties.Security;
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (4)
683if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop)) 690message.Properties.Add(HttpRequestMessageProperty.Name, rmp); 715SecurityMessageProperty serverContextProperty = response.Properties.Security; 777result.Properties.Security = supportingTokenProperty;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (4)
1390SecurityMessageProperty securityProperty = message.Properties.Security; 1908response.Properties.AllowOutputBatching = false; 1972response.Properties.AllowOutputBatching = false; 2089closeMessage.Properties.AllowOutputBatching = false;
System\ServiceModel\Security\WSTrustServiceContract.cs (3)
97&& requestContext.RequestMessage.Properties != null 98&& requestContext.RequestMessage.Properties.Security != null) 101SecurityMessageProperty msgProperty = requestContext.RequestMessage.Properties.Security;
System\ServiceModel\ServiceAuthenticationManager.cs (15)
41(message.Properties != null) && 42(message.Properties.Security != null) && 43(message.Properties.Security.TransportToken != null) && 44(message.Properties.Security.ServiceSecurityContext != null) && 45(message.Properties.Security.ServiceSecurityContext.AuthorizationPolicies != null)) 47List<IAuthorizationPolicy> authPolicies = new List<IAuthorizationPolicy>(message.Properties.Security.ServiceSecurityContext.AuthorizationPolicies); 48foreach (IAuthorizationPolicy policy in message.Properties.Security.TransportToken.SecurityTokenPolicies) 115if ((message != null) && (message.Properties != null) && (message.Properties.Security != null) && (message.Properties.Security.TransportToken == null)) 117if ((message.Properties.Security.ProtectionToken != null) && 118(message.Properties.Security.ProtectionToken.SecurityToken != null) && 119(message.Properties.Security.ProtectionToken.SecurityToken.GetType() == typeof(SecurityContextSecurityToken))) 124if (message.Properties.Security.HasIncomingSupportingTokens) 126foreach (SupportingTokenSpecification tokenSpecification in message.Properties.Security.IncomingSupportingTokens)
System.ServiceModel.Activation (9)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (4)
392if (message.Properties.TryGetValue(HostingMessageProperty.Name, out property)) 397message.Properties.Remove(HostingMessageProperty.Name); 410message.Properties.Remove(ReceiveContext.Name); 411message.Properties.Add(ReceiveContext.Name, wrapper);
System\ServiceModel\Activation\HostedHttpContext.cs (5)
314message.Properties.Add(HttpRequestMessageProperty.Name, requestProperty); 316message.Properties.Add(HostingMessageProperty.Name, CreateMessagePropertyFromHostedResult(this.hostedHttpContext.result)); 317message.Properties.Via = this.hostedHttpContext.result.RequestUri; 320message.Properties.Add(RemoteEndpointMessageProperty.Name, remoteEndpointProperty); 560if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property))
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\InternalReceiveMessage.cs (3)
907this.InitializeCorrelationHandles(executionContext, messageContext.Message.Properties, messageContext.EndToEndTracingId); 1184MessagingActivityHelper.CreateCorrelationCallbackContext(this.CorrelationRequestContext.Reply.Properties); 1187MessagingActivityHelper.CreateCorrelationContext(this.CorrelationRequestContext.Reply.Properties);
System\ServiceModel\Activities\InternalSendMessage.cs (4)
763if (!message.Properties.TryGetValue(CorrelationMessageProperty.Name, out correlationMessageProperty)) 774message.Properties[CorrelationMessageProperty.Name] = correlationMessageProperty; 794message.Properties[CorrelationMessageProperty.Name] = newProperty; 1518instance.RequestOrReply.Properties.Add(CorrelationCallbackMessageProperty.Name,
System.ServiceModel.Channels (23)
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (5)
79message.Properties.Encoder = this; 114message.Properties.Encoder = this; 152message.Properties.Encoder = this; 183message.Properties.Encoder = this; 225message.Properties.Encoder = this;
System\ServiceModel\Channels\ClientUdpOutputChannel.cs (1)
68message.Properties.Via = this.Via;
System\ServiceModel\Channels\MessageExtensionMethods.cs (6)
43HttpRequestMessageProperty requestMessageProperty = message.Properties.GetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name); 76HttpResponseMessageProperty responseMessageProperty = message.Properties.GetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name); 97message.Properties.Add(HttpRequestMessageProperty.Name, new HttpRequestMessageProperty(httpRequestMessage)); 106message.Properties.Add(HttpResponseMessageProperty.Name, new HttpResponseMessageProperty(httpResponseMessage)); 133message.Properties.Add(property.Key, property.Value); 144request.RequestUri = message.Properties.Via;
System\ServiceModel\Channels\NetworkInterfaceMessageProperty.cs (2)
41return TryGet(message.Properties, out property); 70AddTo(message.Properties);
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
109if (message.Properties.Via != null) 111destination = message.Properties.Via; 131UdpSocket socket = this.GetSendSocketUsingInterfaceIndex(message.Properties, out exceptionToBeThrown); 160UdpSocket socket = this.GetSendSocketUsingInterfaceIndex(message.Properties, out exceptionToBeThrown);
System\ServiceModel\Channels\UdpChannelBase.cs (1)
260message.Properties.Via = this.Via;
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
379message.Properties.Via = this.Via;
System\ServiceModel\Channels\UdpRequestContext.cs (2)
31if (!requestMessage.Properties.TryGetValue(RemoteEndpointMessageProperty.Name, out remoteEndpointMessageProperty)) 78message.Properties.Via = this.via;
System\ServiceModel\Channels\UdpUtility.cs (1)
565message.Properties.Add(RemoteEndpointMessageProperty.Name,
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\UdpReplyToBehavior.cs (1)
145request.Properties.Via = state.RemoteEndpointAddress;
System.ServiceModel.Routing (9)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (2)
39return MatchInternal(message.Properties); 50return MatchInternal(tempMessage.Properties);
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (1)
58EndpointNameMessageFilter.Set(messageRpc.Message.Properties, this.channelExtension.EndpointName);
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
41EndpointNameMessageFilter.Set(this.messageRpc.Message.Properties, service.ChannelExtension.EndpointName);
System\ServiceModel\Routing\SendOperation.cs (1)
71message.Properties["Exceptions"] = this.exceptions;
System\ServiceModel\Routing\SoapProcessingBehavior.cs (4)
119MessageProperties originalProperties = originalMessage.Properties; 228FilterProperties(source.Properties); 255CloneProperties(result.Properties, source.Properties);
System.ServiceModel.Web (91)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (6)
186message.Properties.Encoder = this; 218message.Properties.Encoder = this; 261message.Properties.Encoder = this; 265if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 318message.Properties.Encoder = this; 321if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (13)
195message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 199message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 203message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 224message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 228message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 232message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 269if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 277if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 309if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 318if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 361message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out messageFormatProperty); 482if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) && 493if (message.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptResponseMessageProperty) &&
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (2)
102message.Properties.Encoder = this; 127message.Properties.Encoder = this;
System\ServiceModel\Description\WebScriptClientGenerator.cs (3)
69HttpRequestMessageProperty requestMessageProperty = (HttpRequestMessageProperty) message.Properties[HttpRequestMessageProperty.Name]; 76responseMessage.Properties.Add(HttpResponseMessageProperty.Name, responseMessageProperty); 92response.Properties.Add(HttpResponseMessageProperty.Name, responseMessageProperty);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (9)
329object responseProperty = reply.Properties[HttpResponseMessageProperty.Name]; 399fault.Properties.Add(HttpResponseMessageProperty.Name, responseProperty); 406newMessage.Properties.CopyProperties(fault.Properties); 409if (newMessage.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 416newMessage.Properties.Add(HttpResponseMessageProperty.Name, responseProperty); 427if (fault.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out bodyFormatPropertyObject)) 433fault.Properties[WebBodyFormatMessageProperty.Name] = WebBodyFormatMessageProperty.JsonProperty; 438fault.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty);
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (2)
74message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop); 83message.Properties.Add(HttpRequestMessageProperty.Name, httpProperty);
System\ServiceModel\Dispatcher\ContentTypeSettingDispatchMessageFormatter.cs (2)
66message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out prop); 75message.Properties.Add(HttpResponseMessageProperty.Name, httpProperty);
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (2)
115message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 233message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (1)
87message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (2)
88result.Properties[WebBodyFormatMessageProperty.Name] = WebBodyFormatMessageProperty.RawProperty; 96message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (5)
48if (message.Properties.ContainsKey(WebHttpDispatchOperationSelector.RedirectPropertyName)) 50newLocation = message.Properties[WebHttpDispatchOperationSelector.RedirectPropertyName] as Uri; 70if (message.Properties.ContainsKey(WebHttpDispatchOperationSelector.HttpOperationSelectorUriMatchedPropertyName)) 72uriMatched = (bool) message.Properties[WebHttpDispatchOperationSelector.HttpOperationSelectorUriMatchedPropertyName]; 80if (message.Properties.TryGetValue(WebHttpDispatchOperationSelector.HttpOperationSelectorDataPropertyName, out allowedMethodsData))
System\ServiceModel\Dispatcher\JavascriptCallbackMessageInspector.cs (6)
48if (reply.Properties.TryGetValue<WebBodyFormatMessageProperty>(WebBodyFormatMessageProperty.Name, out formatProperty) && 52if (!reply.Properties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptCallbackResponseMessageProperty) 58reply.Properties.Add(JavascriptCallbackResponseMessageProperty.Name, javascriptCallbackResponseMessageProperty); 64if (reply.Properties.TryGetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name, out property) && 78nullJsonMessage.Properties.CopyProperties(reply.Properties);
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (2)
103message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 169message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (5)
176message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out untypedProp); 181message.Properties[HttpResponseMessageProperty.Name] = prop; 201message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out untypedProp); 206message.Properties[HttpRequestMessageProperty.Name] = prop; 333reply.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty);
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (3)
100if (m.Properties.ContainsKey(HttpRequestMessageProperty.Name)) 102hrmp = m.Properties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty; 107m.Properties.Add(HttpRequestMessageProperty.Name, hrmp);
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (2)
58if (message.Properties.ContainsKey(UTMRName)) 60utmr = message.Properties[UTMRName] as UriTemplateMatch;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (3)
101fault.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 150response.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 171response.Properties.Add(HttpResponseMessageProperty.Name, responseProperty);
System\ServiceModel\Dispatcher\WebFaultClientMessageInspector.cs (1)
25HttpResponseMessageProperty prop = (HttpResponseMessageProperty) reply.Properties[HttpResponseMessageProperty.Name];
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (9)
160message.Properties.Add(HttpOperationSelectorUriMatchedPropertyName, uriMatched); 164message.Properties.Add(HttpOperationNamePropertyName, result); 190if (!message.Properties.ContainsKey(HttpRequestMessageProperty.Name)) 194HttpRequestMessageProperty prop = message.Properties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty; 220message.Properties.Add(WebHttpDispatchOperationSelector.HttpOperationSelectorDataPropertyName, 286message.Properties.Add(WebHttpDispatchOperationSelector.HttpOperationSelectorDataPropertyName, 310message.Properties.Add(IncomingWebRequestContext.UriTemplateMatchResultsPropertyName, match); 353message.Properties.Add(RedirectPropertyName, originalPlusSlash); 362if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out requestProperty))
System\ServiceModel\Web\WebOperationContext.cs (13)
107message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.JsonProperty); 125message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 137message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 158message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 171message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 183message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 195message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 207message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.XmlProperty); 248message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 285message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 301message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 318message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty); 334message.Properties.Add(WebBodyFormatMessageProperty.Name, WebBodyFormatMessageProperty.RawProperty);
System.WorkflowServices (3)
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
104message.Properties[DurableMessageDispatchInspector.NewDurableInstanceIdPropertyName] = instanceId;
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (2)
44if (request.Properties.TryGetValue(NewDurableInstanceIdPropertyName, out result)) 60if (sessionMode == SessionMode.NotAllowed || reply.Properties.ContainsKey(suppressContextOnReply))