System.Web.Services.Protocols.SoapHeaderAttribute.Required Property

This member is obsolete and has no functionality.

Syntax

[System.Obsolete("This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced", false)]
public bool Required { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

To verify that a SOAP header is sent to an XML Web service, confirm that the member specified in the SoapHeaderAttribute.MemberName property is null. If it is null, the SOAP header was not sent.

In version 1.0 of the .NET Framework SDK, the SoapHeaderAttribute.Required property indicates whether a SOAP header must be understood and processed by the recipient XML Web service or XML Web service client. If a recipient did not process the SOAP header an exception was thrown.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0