System::Web::Services::Protocols::SoapHeaderAttribute class

SoapHeaderAttribute class

Specifies the SOAP header that the XML Web service method or the XML Web service client can process. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class SoapHeaderAttribute : public System::Attribute

Methods

MethodDescription
get_Direction()RTTI information.
get_MemberName()Gets a member variable name of the XML SOAP service that is used to receive the SOAP header contents.
get_Required()Gets a value that indicates if the SOAP header must be understood and processed by the recipient XML Web service or XML Web service client.
set_Direction(SoapHeaderDirection)Sets the SOAP header direction.
set_MemberName(String)Sets a member variable name of the XML SOAP service that is used to receive the SOAP header contents.
set_Required(bool)Sets a value that indicates if the SOAP header must be understood and processed by the recipient XML Web service or XML Web service client.
SoapHeaderAttribute(String)Constructs a new instance.

See Also