12 references to Format
System.ServiceModel.Web (12)
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (1)
72
return String.Format(CultureInfo.InvariantCulture, SR2.GetString(SR2.WebBodyFormatPropertyToString, this.
Format
.ToString()));
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (2)
369
(typedMessageFormatProperty.
Format
== WebContentFormat.Default))
374
return typedMessageFormatProperty.
Format
;
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
431
(bodyFormatProperty.
Format
!= WebContentFormat.Json))
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (2)
239
if (formatProperty.
Format
!= WebContentFormat.Json)
241
throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat3, this.OperationName, formatProperty.
Format
, WebContentFormat.Json)));
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (1)
94
format = formatProperty.
Format
;
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (2)
110
if (formatProperty.
Format
!= WebContentFormat.Raw)
112
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat, this.operationName, this.contractName, this.contractNs, formatProperty.
Format
, WebContentFormat.Raw)));
System\ServiceModel\Dispatcher\JavascriptCallbackMessageInspector.cs (1)
50
formatProperty.
Format
== WebContentFormat.Json)
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (2)
175
if (formatProperty.
Format
!= WebContentFormat.Json)
177
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat, this.OperationName, this.ContractName, this.ContractNs, formatProperty.
Format
, WebContentFormat.Json)));