WebHttpBehavior.DefaultBodyStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the default message body style.
public:
virtual property System::ServiceModel::Web::WebMessageBodyStyle DefaultBodyStyle { System::ServiceModel::Web::WebMessageBodyStyle get(); void set(System::ServiceModel::Web::WebMessageBodyStyle value); };
public virtual System.ServiceModel.Web.WebMessageBodyStyle DefaultBodyStyle { get; set; }
member this.DefaultBodyStyle : System.ServiceModel.Web.WebMessageBodyStyle with get, set
Public Overridable Property DefaultBodyStyle As WebMessageBodyStyle
Property Value
One of the values defined in the WebMessageBodyStyle enumeration.
Remarks
If the WebGetAttribute or WebInvokeAttribute does not explicitly set the BodyStyle property, the value of this property is used as the body style for the operation. The default value is Bare.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.