System.Runtime.Serialization.Formatters.ISoapMessage Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Serialization.Formatters
Summary
Provides an interface for an object that contains the names and types of parameters required during serialization of a SOAP RPC (Remote Procedure Call).
C# Syntax:
public interface ISoapMessage
Remarks
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.

See also:
System.Runtime.Serialization.Formatters Namespace

System.Runtime.Serialization.Formatters.ISoapMessage Member List:

Public Properties
Headers Read-write

Gets or sets the out-of-band data of the method call.
MethodName Read-write

Gets or sets the name of the called method.
ParamNames Read-write

Gets or sets the parameter names of the method call.
ParamTypes Read-write

Gets or sets the parameter types of a method call.
ParamValues Read-write

Gets or sets the parameter values of a method call.
XmlNameSpace Read-write

Gets or sets the XML namespace of the SOAP RPC (Remote Procedure Call) ISoapMessage.MethodName element.

System.Runtime.Serialization.Formatters.ISoapMessage Member Details

Property: Headers (read-write)
Summary
Gets or sets the out-of-band data of the method call.
C# Syntax:
Header[] Headers {get; set;}
See also:
Header

Return to top


Property: MethodName (read-write)
Summary
Gets or sets the name of the called method.
C# Syntax:
string MethodName {get; set;}

Return to top


Property: ParamNames (read-write)
Summary
Gets or sets the parameter names of the method call.
C# Syntax:
string[] ParamNames {get; set;}

Return to top


Property: ParamTypes (read-write)
Summary
Gets or sets the parameter types of a method call.
C# Syntax:
Type[] ParamTypes {get; set;}

Return to top


Property: ParamValues (read-write)
Summary
Gets or sets the parameter values of a method call.
C# Syntax:
object[] ParamValues {get; set;}

Return to top


Property: XmlNameSpace (read-write)
Summary
Gets or sets the XML namespace of the SOAP RPC (Remote Procedure Call) ISoapMessage.MethodName element.
C# Syntax:
string XmlNameSpace {get; set;}

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.