Redigera

Dela via


WebHttpEndpointElement.DefaultOutgoingResponseFormat Property

Definition

Gets or sets the default format for responses sent out from a web service operations.

public:
 property System::ServiceModel::Web::WebMessageFormat DefaultOutgoingResponseFormat { System::ServiceModel::Web::WebMessageFormat get(); void set(System::ServiceModel::Web::WebMessageFormat value); };
[System.Configuration.ConfigurationProperty("defaultOutgoingResponseFormat", DefaultValue=System.ServiceModel.Web.WebMessageFormat.Xml)]
public System.ServiceModel.Web.WebMessageFormat DefaultOutgoingResponseFormat { get; set; }
[<System.Configuration.ConfigurationProperty("defaultOutgoingResponseFormat", DefaultValue=System.ServiceModel.Web.WebMessageFormat.Xml)>]
member this.DefaultOutgoingResponseFormat : System.ServiceModel.Web.WebMessageFormat with get, set
Public Property DefaultOutgoingResponseFormat As WebMessageFormat

Property Value

A format object.

Attributes

Applies to