ISoapMessage Interface

Definition

为特定对象提供接口,它包含在 SOAP RPC(远程过程调用)的序列化过程中所需的参数的名称和类型。Provides an interface for an object that contains the names and types of parameters required during serialization of a SOAP RPC (Remote Procedure Call).

public interface class ISoapMessage
public interface ISoapMessage
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISoapMessage
type ISoapMessage = interface
Public Interface ISoapMessage
Derived
Attributes

Remarks

当支持此接口的对象是序列化关系图的根时, 将以 RPC 格式生成 SOAP。When an object that supports this interface is the root of a serialization graph, SOAP is produced in RPC format. ISoapMessage接口包含在方法调用的反序列化过程中使用的方法调用参数类型。The ISoapMessage interface contains the method call parameter types used during deserialization of a method call.

若要支持基于ISoapMessage接口且不使用该IRemotingFormatter功能的 SOAP RPC 调用, 请将SoapFormatter.TopObject属性设置为支持此接口的对象。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.

Properties

Headers

获取或设置方法调用的带外数据。Gets or sets the out-of-band data of the method call.

MethodName

获取或设置调用的方法的名称。Gets or sets the name of the called method.

ParamNames

获取或设置方法调用的参数名称。Gets or sets the parameter names of the method call.

ParamTypes

获取或设置方法调用的参数类型。Gets or sets the parameter types of a method call.

ParamValues

获取或设置方法调用的参数值。Gets or sets the parameter values of a method call.

XmlNameSpace

获取或设置 SOAP RPC (远程过程调用)MethodName 元素的 XML 命名空间。Gets or sets the XML namespace of the SOAP RPC (Remote Procedure Call) MethodName element.

Applies to