System.Runtime.Remoting.SoapServices.RegisterSoapActionForMethodBase C# (CSharp) Method

RegisterSoapActionForMethodBase() public static method

public static RegisterSoapActionForMethodBase ( MethodBase mb ) : void
mb System.Reflection.MethodBase
return void
        public static void RegisterSoapActionForMethodBase(MethodBase mb)
        {
            SoapMethodAttribute attr = 
                     (SoapMethodAttribute)InternalRemotingServices.GetCachedSoapAttribute(mb);
            if (attr.SoapActionExplicitySet)
                RegisterSoapActionForMethodBase(mb, attr.SoapAction);
        } // RegisterSoapActionForMethodBase
        

Same methods

SoapServices::RegisterSoapActionForMethodBase ( MethodBase mb, String soapAction ) : void

Usage Example

Esempio n. 1
0
        public static void RegisterSoapActionForMethodBase(MethodBase mb)
        {
            SoapMethodAttribute soapMethodAttribute = (SoapMethodAttribute)InternalRemotingServices.GetCachedSoapAttribute(mb);

            if (soapMethodAttribute.SoapActionExplicitySet)
            {
                SoapServices.RegisterSoapActionForMethodBase(mb, soapMethodAttribute.SoapAction);
            }
        }
All Usage Examples Of System.Runtime.Remoting.SoapServices::RegisterSoapActionForMethodBase