Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ISoapMessage Interface

ISoapMessage Interface

Provides an interface for an object that contains the names and types of parameters required during serialization of a SOAP RPC (Remote Procedure Call).

Namespace:  System.Runtime.Serialization.Formatters
Assembly:  mscorlib (in mscorlib.dll)

public interface ISoapMessage

The ISoapMessage type exposes the following members.

Public propertyHeadersGets or sets the out-of-band data of the method call.
Public propertyMethodNameGets or sets the name of the called method.
Public propertyParamNamesGets or sets the parameter names of the method call.
Public propertyParamTypesGets or sets the parameter types of a method call.
Public propertyParamValuesGets or sets the parameter values of a method call.
Public propertyXmlNameSpaceGets or sets the XML namespace of the SOAP RPC (Remote Procedure Call) MethodName element.

When an object that supports this interface is the root of a serialization graph, SOAP is produced in RPC format. The ISoapMessage interface contains the method call parameter types used during deserialization of a method call.

To support SOAP RPC calls that are based on the ISoapMessage interface and do not use the IRemotingFormatter functionality, set the SoapFormatter.TopObject property to an object that supports this interface.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft