Implemented interface member:
method
TryGetValue
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
63 references to TryGetValue
System.Data.Services (2)
System\Data\Services\HttpContextServiceHost.cs (2)
200if (OperationContext.Current.IncomingMessageProperties.TryGetValue(XmlConstants.MicrosoftDataServicesRequestUri, out property)) 302if (OperationContext.Current.IncomingMessageProperties.TryGetValue(XmlConstants.MicrosoftDataServicesRootUri, out property))
System.ServiceModel (40)
System\ServiceModel\Channels\BufferedReceiveMessageProperty.cs (1)
78if (properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (1)
140if (properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Channels\ChannelBindingMessageProperty.cs (1)
71if (properties.TryGetValue(ChannelBindingMessageProperty.Name, out value))
System\ServiceModel\Channels\ClientContextProtocol.cs (2)
292if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 368if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out tmpProperty))
System\ServiceModel\Channels\ContextMessageProperty.cs (1)
88if (properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (1)
88if (properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Channels\CorrelationDataMessageProperty.cs (2)
90if (properties.TryGetValue(PropertyName, out value)) 115if (message.Properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Channels\CorrelationMessageProperty.cs (1)
135if (properties.TryGetValue(PropertyName, out value))
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 (2)
1390if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 2529if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property))
System\ServiceModel\Channels\Message.cs (2)
76return prop.TryGetValue(name, out result); 1061return prop.TryGetValue(name, out result);
System\ServiceModel\Channels\MessageProperties.cs (5)
65if (!TryGetValue(name, out value)) 583if (this.TryGetValue(name, out o)) 603if (!this.TryGetValue(name, out obj)) 786if (!TryGetValue(pair.Key, out value)) 849if (!TryGetValue(pair.Key, out value))
System\ServiceModel\Channels\ReceiveContext.cs (1)
68if (properties.TryGetValue(Name, out foundProperty))
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (1)
306message.Properties.TryGetValue(addressedPropertyName, out property);
System\ServiceModel\Channels\ServiceContextProtocol.cs (2)
89if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property)) 125if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out tmpProperty))
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
202if (!request.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property))
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
44if (message.Properties.TryGetValue(EventTraceActivity.Name, out property))
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (3)
271if (this.message.Properties.TryGetValue(AddressingProperty.Name, out property)) 301if (this.message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 326if (this.message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property))
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
590if (!operationContext.IncomingMessageProperties.TryGetValue(E2EActivityId, out activityIdFromProprties)) 956if (context.IncomingMessageProperties.TryGetValue(RemoteEndpointMessageProperty.Name, out endpointMessageProperty)) 1084if (!context.IncomingMessageProperties.TryGetValue(TraceApplicationReference, out hostReference)) 1162if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue(TraceUtility.AsyncOperationActivityKey, out data))
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
407if (request.RequestMessage.Properties.TryGetValue(MessageBufferPropertyName, out previousBuffer))
System\ServiceModel\Security\ImpersonateOnSerializingReplyMessageProperty.cs (1)
68if (properties.TryGetValue(PropertyName, out value))
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
769if (closeMessage.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop))
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
83if (!message.Properties.TryGetValue(SessionContextIdsProperty, out propertyValue)) 297if (!message.Properties.TryGetValue(SessionContextIdsProperty, out propertyValue))
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
683if (message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop))
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
392if (message.Properties.TryGetValue(HostingMessageProperty.Name, out property))
System\ServiceModel\Activation\HostedHttpContext.cs (1)
560if (message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property))
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\NetworkInterfaceMessageProperty.cs (1)
52if (properties.TryGetValue(PropertyName, out value))
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\DiscoveryOperationContext.cs (1)
100if (operationContext.IncomingMessageProperties.TryGetValue(DiscoveryMessageProperty.Name, out messageProperty))
System\ServiceModel\Discovery\UdpReplyToBehavior.cs (2)
85if (OperationContext.Current.IncomingMessageProperties.TryGetValue(RemoteEndpointMessageProperty.Name, out messageProperty)) 133if (OperationContext.Current.OutgoingMessageProperties.TryGetValue(
System.ServiceModel.Routing (3)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (1)
57if (messageProperties.TryGetValue(EndpointNameKey, out value))
System\ServiceModel\Routing\SoapProcessingBehavior.cs (2)
125if (originalProperties.TryGetValue(IncomingHttpRequestName, out incomingHttpRequest)) 380if (destination.TryGetValue(HttpRequestMessageProperty.Name, out incomingHttpRequest))
System.ServiceModel.Web (11)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
361message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out messageFormatProperty);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
409if (newMessage.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property)) 427if (fault.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out bodyFormatPropertyObject))
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (1)
74message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\ContentTypeSettingDispatchMessageFormatter.cs (1)
66message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (1)
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 (1)
96message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
169message.Properties.TryGetValue(WebBodyFormatMessageProperty.Name, out prop);
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (2)
176message.Properties.TryGetValue(HttpResponseMessageProperty.Name, out untypedProp); 201message.Properties.TryGetValue(HttpRequestMessageProperty.Name, out untypedProp);
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (1)
44if (request.Properties.TryGetValue(NewDurableInstanceIdPropertyName, out result))