System.Runtime.Remoting.SoapServices.RegisterSoapActionForMethodBase Method

Associates the provided SOAPAction value with the given System.Reflection.MethodBase for use in channel sinks.

Syntax

public static void RegisterSoapActionForMethodBase (System.Reflection.MethodBase mb, string soapAction)

Parameters

mb
The System.Reflection.MethodBase to associate with the provided SOAPAction.
soapAction
The SOAPAction value to associate with the given System.Reflection.MethodBase.

Remarks

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