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