System.Runtime.Remoting.SoapServices.GetSoapActionFromMethodBase Method

Returns the SOAPAction value associated with the method specified in the given System.Reflection.MethodBase.

Syntax

public static string GetSoapActionFromMethodBase (System.Reflection.MethodBase mb)

Parameters

mb
The System.Reflection.MethodBase that contains the method for which a SOAPAction is requested.

Returns

The SOAPAction value associated with the method specified in the given System.Reflection.MethodBase.

Remarks

If the given System.Reflection.MethodBase has not been registered with any SOAPAction value, the SoapServices.GetSoapActionFromMethodBase(System.Reflection.MethodBase) method returns the SOAPAction automatically cached with the System.Reflection.MethodBase.

Requirements

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