WebScriptEnablingBehavior.DefaultOutgoingResponseFormat Właściwość

Definicja

Pobiera lub ustawia domyślny format komunikatu odpowiedzi wychodzącej.

public:
 virtual property System::ServiceModel::Web::WebMessageFormat DefaultOutgoingResponseFormat { System::ServiceModel::Web::WebMessageFormat get(); void set(System::ServiceModel::Web::WebMessageFormat value); };
public override System.ServiceModel.Web.WebMessageFormat DefaultOutgoingResponseFormat { get; set; }
member this.DefaultOutgoingResponseFormat : System.ServiceModel.Web.WebMessageFormat with get, set
Public Overrides Property DefaultOutgoingResponseFormat As WebMessageFormat

Wartość właściwości

Używane WebMessageFormat przez wychodzące komunikaty odpowiedzi. Wartość domyślna to Json.

Wyjątki

Zestaw formatów komunikatów nie jest prawidłową wartością WebMessageFormat.

Dotyczy