Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SoapHeaderHandling Class
Collapse the table of content
Expand the table of content

SoapHeaderHandling Class

The SoapHeaderHandling class is used to get, set, write, and read SOAP header content to and from SOAP messages.

System.Object
  System.Web.Services.Protocols.SoapHeaderHandling

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

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public sealed class SoapHeaderHandling

The SoapHeaderHandling type exposes the following members.

  NameDescription
Public methodSoapHeaderHandlingInitializes a new instance of SoapHeaderHandling.
Top

  NameDescription
Public methodStatic memberEnsureHeadersUnderstoodChecks to ensure that the SOAP headers that must be understood have been understood; if not, this method throws an exception.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetHeaderMembersGets the SOAP header content for the specified SOAP message.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodReadHeadersReturns a String that contains the SOAP header content of the SOAP message.
Public methodStatic memberSetHeaderMembersSets the SOAP header content for the specified SOAP message.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodStatic memberWriteHeadersWrites the specified SOAP header content to the SOAP message.
Public methodStatic memberWriteUnknownHeadersWrites the specified SOAP header content to the SOAP message.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft