SoapHeaderAttribute.Direction Property

 

Gets or sets whether the SOAP header is intended for the XML Web service or the XML Web service client or both.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

member Direction : SoapHeaderDirection with get, set

Property Value

Type: System.Web.Services.Protocols.SoapHeaderDirection

The intended recipient of the SOAP header. The default is In, which means the intended recipient is just the XML Web service.

The following MyWebService XML Web service defines one SoapHeader of type MyHeader. The Hello XML Web service method specifies that MyHeader must be sent to the XML Web service method and the client to invocate the XML Web service method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: