SoapHeaderHandling.ReadHeaders Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Zwraca element String zawierający zawartość nagłówka SOAP komunikatu PROTOKOŁU SOAP.
public:
System::String ^ ReadHeaders(System::Xml::XmlReader ^ reader, System::Xml::Serialization::XmlSerializer ^ serializer, System::Web::Services::Protocols::SoapHeaderCollection ^ headers, cli::array <System::Web::Services::Protocols::SoapHeaderMapping ^> ^ mappings, System::Web::Services::Protocols::SoapHeaderDirection direction, System::String ^ envelopeNS, System::String ^ encodingStyle, bool checkRequiredHeaders);
public string ReadHeaders(System.Xml.XmlReader reader, System.Xml.Serialization.XmlSerializer serializer, System.Web.Services.Protocols.SoapHeaderCollection headers, System.Web.Services.Protocols.SoapHeaderMapping[] mappings, System.Web.Services.Protocols.SoapHeaderDirection direction, string envelopeNS, string encodingStyle, bool checkRequiredHeaders);
member this.ReadHeaders : System.Xml.XmlReader * System.Xml.Serialization.XmlSerializer * System.Web.Services.Protocols.SoapHeaderCollection * System.Web.Services.Protocols.SoapHeaderMapping[] * System.Web.Services.Protocols.SoapHeaderDirection * string * string * bool -> string
Public Function ReadHeaders (reader As XmlReader, serializer As XmlSerializer, headers As SoapHeaderCollection, mappings As SoapHeaderMapping(), direction As SoapHeaderDirection, envelopeNS As String, encodingStyle As String, checkRequiredHeaders As Boolean) As String
Parametry
- serializer
- XmlSerializer
Element XmlSerializer do użycia w odczytywaniu nagłówków.
- headers
- SoapHeaderCollection
Element SoapHeaderCollection , który zawiera nagłówki PROTOKOŁU SOAP.
- mappings
- SoapHeaderMapping[]
Tablica typu SoapHeaderMapping zawierająca mapowania nagłówków protokołu SOAP.
- direction
- SoapHeaderDirection
SoapHeaderDirection Wartość wskazująca kierunek nagłówków PROTOKOŁU SOAP.
- checkRequiredHeaders
- Boolean
Element Boolean wskazujący, czy należy sprawdzić wymagane nagłówki protokołu SOAP.
Zwraca
Element String zawierający zawartość nagłówka protokołu SOAP komunikatu PROTOKOŁU SOAP.