WebScriptEnablingBehavior.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 override System.ServiceModel.Web.WebMessageBodyStyle DefaultBodyStyle { get; set; }
member this.DefaultBodyStyle : System.ServiceModel.Web.WebMessageBodyStyle with get, set
Public Overrides Property DefaultBodyStyle As WebMessageBodyStyle
Property Value
The WrappedRequest value. This default value is the only valid value.
Exceptions
The body style set is not supported.
Remarks
The WrappedRequest value is the only WebMessageBodyStyle supported and setting any other value results in a NotSupportedException being thrown.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET