7 references to TryGetValue
System.ServiceModel (7)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
977if (message.Properties.TryGetValue<string>(SupportedCompressionTypesMessageProperty, out acceptEncoding) &&
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
1452if (!message.Properties.TryGetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name, out httpProperties))
System\ServiceModel\Channels\HttpRequestContext.cs (1)
209message.Properties.TryGetValue<HttpRequestMessageProperty>(HttpRequestMessageProperty.Name, out httpProperty))
System\ServiceModel\Channels\MessageProperties.cs (1)
404if (!this.TryGetValue<IMergeEnabledMessageProperty>(property.Name, out currentValue) ||
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
451if (message.Properties.TryGetValue<WebSocketMessageProperty>(WebSocketMessageProperty.Name, out webSocketMessageProperty))
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
987if ((null != properties) && properties.TryGetValue(TraceUtility.E2EActivityId, out activityId)) 1182if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue<EventTraceActivityTimeProperty>(TraceUtility.AsyncOperationStartTimeKey, out data))