4 instantiations of WebBodyFormatMessageProperty
System.Data.Services (1)
System\Data\Services\DataService.cs (1)
551
message.Properties.Add(WebBodyFormatMessageProperty.Name, new
WebBodyFormatMessageProperty
(WebContentFormat.Raw));
System.ServiceModel.Web (3)
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (3)
35
jsonProperty = new
WebBodyFormatMessageProperty
(WebContentFormat.Json);
47
xmlProperty = new
WebBodyFormatMessageProperty
(WebContentFormat.Xml);
59
rawProperty = new
WebBodyFormatMessageProperty
(WebContentFormat.Raw);
82 references to WebBodyFormatMessageProperty
System.Data.Services (1)
System\Data\Services\DataService.cs (1)
551
message.Properties.Add(
WebBodyFormatMessageProperty
.Name, new WebBodyFormatMessageProperty(WebContentFormat.Raw));
System.ServiceModel.Web (81)
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (6)
10
static
WebBodyFormatMessageProperty
jsonProperty;
12
static
WebBodyFormatMessageProperty
xmlProperty;
13
static
WebBodyFormatMessageProperty
rawProperty;
29
internal static
WebBodyFormatMessageProperty
JsonProperty
41
internal static
WebBodyFormatMessageProperty
XmlProperty
53
internal static
WebBodyFormatMessageProperty
RawProperty
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (15)
195
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
199
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
203
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
224
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
228
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
232
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
361
message.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out messageFormatProperty);
367
WebBodyFormatMessageProperty
typedMessageFormatProperty = messageFormatProperty as
WebBodyFormatMessageProperty
;
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (7)
427
if (fault.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out bodyFormatPropertyObject))
429
WebBodyFormatMessageProperty
bodyFormatProperty = bodyFormatPropertyObject as
WebBodyFormatMessageProperty
;
433
fault.Properties[
WebBodyFormatMessageProperty
.Name] =
WebBodyFormatMessageProperty
.JsonProperty;
438
fault.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (5)
115
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
233
message.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out prop);
234
WebBodyFormatMessageProperty
formatProperty = (prop as
WebBodyFormatMessageProperty
);
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (3)
87
message.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out prop);
88
WebBodyFormatMessageProperty
formatProperty = prop as
WebBodyFormatMessageProperty
;
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (5)
88
result.Properties[
WebBodyFormatMessageProperty
.Name] =
WebBodyFormatMessageProperty
.RawProperty;
96
message.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out prop);
97
WebBodyFormatMessageProperty
formatProperty = (prop as
WebBodyFormatMessageProperty
);
System\ServiceModel\Dispatcher\JavascriptCallbackMessageInspector.cs (3)
46
WebBodyFormatMessageProperty
formatProperty;
48
if (reply.Properties.TryGetValue<
WebBodyFormatMessageProperty
>(
WebBodyFormatMessageProperty
.Name, out formatProperty) &&
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (5)
103
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
169
message.Properties.TryGetValue(
WebBodyFormatMessageProperty
.Name, out prop);
170
WebBodyFormatMessageProperty
formatProperty = (prop as
WebBodyFormatMessageProperty
);
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (2)
333
reply.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
System\ServiceModel\Dispatcher\WebErrorHandler.cs (4)
101
fault.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
150
response.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
System\ServiceModel\Web\WebOperationContext.cs (26)
107
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.JsonProperty);
125
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
137
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
158
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
171
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
183
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
195
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
207
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.XmlProperty);
248
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
285
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
301
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
318
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);
334
message.Properties.Add(
WebBodyFormatMessageProperty
.Name,
WebBodyFormatMessageProperty
.RawProperty);