SoapHeaderAttribute.Required Property
NOTE: This member is now obsolete.
This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced
This member is obsolete and has no functionality.
[Visual Basic] <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 Property Required As Boolean [C#] [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 {get; set;} [C++] [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: __property bool get_Required(); public: __property void set_Required(bool); [JScript] public 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) function get Required() : Boolean; public function set Required(Boolean);
Remarks
To verify that a SOAP header is sent to an XML Web service, confirm that the member specified in the MemberName property is a null reference (Nothing in Visual Basic). If it is a null reference (Nothing), the SOAP header was not sent.
In version 1.0 of the .NET Framework SDK, the 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
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
SoapHeaderAttribute Class | SoapHeaderAttribute Members | System.Web.Services.Protocols Namespace