System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object

The primary use of the class is for SOAP extensions, representing the data in a SOAP request or SOAP response. When the method is called, a receives a at each . It is up to the particular SOAP extension to choose how to process the . Common SOAP extensions include encryption and compression.

SOAP extensions can be applied to either or both an XML Web service method created using ASP.NET or an XML Web service client. When a SOAP extension is applied to an XML Web service method, the method receives an instance of , which derives from . Likewise, when a SOAP extension is applied to an XML Web service client, receives an instance of .

Represents the data in a SOAP request or SOAP response at a specific .

- Property
  System.String To be added: an object of type 'string'

  The property can be accessed during any .

  When overridden in a derived class, gets the SOAPAction HTTP request header field for the SOAP request or SOAP response.

  1.0.5000.0
  2.0.0.0
- Property
  1.0.5000.0
  2.0.0.0
  System.String To be added.

  A SOAP extension can set the property to provide supplementary information about the encoding of a SOAP message without changing the media type as expressed in the Content-Type HTTP header.

  Gets or sets the contents of the Content-Encoding HTTP header.

- Property
  System.String To be added: an object of type 'string'

  The property can only be accessed in the and stages; otherwise, an is thrown.

  Use the property, instead of the property to provide supplementary information about the encoding of a SOAP message.

  Gets or sets the HTTP Content-Type of the SOAP request or SOAP response.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void

  The asserted stage is different for XML Web service clients and XML Web service methods. An XML Web service method's in parameters are available after the SOAP request is deserialized in the stage. For an XML Web service client, the in parameters are available prior to the SOAP request serialization process in the stage.

  can be called during any , however an is thrown when in parameters are not available.

  When overridden in a derived class, asserts that the current is a stage where in parameters are available.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void

  The asserted stage is different for XML Web service clients and XML Web service methods. An XML Web service method's out parameters are available prior to the SOAP response serialization process in the stage. In an XML Web service client, the out parameters are available after the SOAP response deserialization process in the stage.

  can be called during any , however an is thrown when out parameters are not available.

  When overridden in a derived class, asserts that the current stage is a stage where out parameters are available.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void ``

  Multiple stages can be asserted by performing a bitwise OR operation on multiple instances of the class.

  can be called during any .

  Ensures that the of the call to the XML Web service method is the stage or stages passed in. If the current processing stage is not one of the stages passed in, an exception is thrown.

  The asserted. 1.0.5000.0 2.0.0.0
- Property
  System.Web.Services.Protocols.SoapException To be added: an object of type 'SoapException'

  The property can be accessed during any .

  Gets the from the call to the XML Web service method.

  1.0.5000.0
  2.0.0.0
- Method
  System.Object ``

  The property is only accessible when in parameters are available. ASP.NET throws when accessing the property if in parameters are not available.

  In a the in parameters are available in the . In a the in parameters are available in the .

  Gets the parameter passed into the XML Web service method at the specified index.

  An representing the parameter at the specified index.

  The zero-based index of the parameter in the array of parameters. 1.0.5000.0 2.0.0.0
- Method
  System.Object ``

  If out parameters are not available, ASP.NET throws an when accessing the property.

  In a the out parameters are available in the . In a the out parameters are available in the of the .

  Gets the out parameter passed into the XML Web service method at the specified index.

  An representing the parameter at the specified index.

  The zero-based index of the parameter in the array of parameters. 1.0.5000.0 2.0.0.0
- Method
  System.Object

  If a return value is not available, ASP.NET throws when accessing the property.

  In a the return value is available when the value is . In a the return value is available when value is .

  Gets the return value of an XML Web service method.

  An representing the return value of the XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.Services.Protocols.SoapHeaderCollection To be added: an object of type 'SoapHeaderCollection'

  SOAP headers are an optional portion of a SOAP request or SOAP response. For more details on using SOAP headers in XML Web services created using ASP.NET and their clients, see the class.

  Although the property can be accessed at any stage, it is only populated with the SOAP header information in the and stages.

  A collection of the SOAP headers applied to the current SOAP request or SOAP response.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.Services.Protocols.LogicalMethodInfo To be added: an object of type 'LogicalMethodInfo'

  Although can be accessed during any , it only has data during and .

  When overridden in a derived class, gets a representation of the method prototype for the XML Web service method for which the SOAP request is intended.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  See the property of or for details about one-way XML Web service methods.

  The property is accessible in all stages of .

  Gets a value indicating the property of either the or the attribute applied to the XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  2.0.0.0
  System.ComponentModel.DefaultValue(System.Web.Services.Protocols.SoapProtocolVersion.Default)
  System.Runtime.InteropServices.ComVisible(false)
  System.Web.Services.Protocols.SoapProtocolVersion To be added.

  For a , the property is guaranteed to be valid after the stage. In the stage the property is available, however the SOAP message has not been completely processed and SOAP extensions that may alter the contents of the SOAP message have not run.

  Gets the version of the SOAP protocol used to communicate with the XML Web service.

- Property
  System.Web.Services.Protocols.SoapMessageStage To be added: an object of type 'SoapMessageStage'

  The property can be accessed at any .

  Gets the of the .

  1.0.5000.0
  2.0.0.0
- Property
  System.IO.Stream a

  SOAP extensions that inspect the data representing a SOAP request or SOAP response, such as a logging SOAP extension, can use the Stream property to view the data at each .

  SOAP extensions that modify the data representing a SOAP request or SOAP response, such as encryption or compression SOAP extensions, should do so with the passed into the method of . The property of passed into is read-only.

  For more information on modifying the data representing a SOAP request or SOAP response, see .

  Gets the data representing the SOAP request or SOAP response in the form of a .

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  The property can be accessed during any .

  When overridden in a derived class, gets the base URL of the XML Web service.

  1.0.5000.0
  2.0.0.0