System.Runtime.Remoting.SoapServices.RegisterSoapActionForMethodBase Method

Associates the specified System.Reflection.MethodBase with the SOAPAction cached with it.

Syntax

public static void RegisterSoapActionForMethodBase (System.Reflection.MethodBase mb)

Parameters

mb
The System.Reflection.MethodBase of the method to associate with the SOAPAction cached with it.

Remarks

The SOAPAction of the specified method is contained in the System.Runtime.Remoting.Metadata.SoapMethodAttribute.SoapAction property, or is read off the wire. The current method associates the SOAPAction with the System.Reflection.MethodBase for use in channel sinks.

The SOAPAction HTTP request header field indicates the intent of the SOAP HTTP request. The value is a URI identifying the intent. SOAP places no restrictions on the format or specificity of the URI or that it is resolvable. An HTTP client must use this header field when issuing a SOAP HTTP request.

Requirements

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0