A LogicalMethodInfo object is provided to the SoapExtension.GetInitializer( ) method. This object contains information about the web service or proxy class method where the custom SoapExtensionAttribute is applied.
public sealed class LogicalMethodInfo { // Public Constructors public LogicalMethodInfo(System.Reflection.MethodInfo methodInfo); // Public Instance Properties public ParameterInfo AsyncCallbackParameter{get; } public ParameterInfo AsyncResultParameter{get; } public ParameterInfo AsyncStateParameter{get; } public MethodInfo BeginMethodInfo{get; } public ICustomAttributeProvider CustomAttributeProvider{get; } public Type DeclaringType{get; } public MethodInfo EndMethodInfo{get; } public ParameterInfo[ ] InParameters{get; } public bool IsAsync{get; } public bool IsVoid{get; } public MethodInfo MethodInfo{get; } public string Name{get; } public ParameterInfo[ ] OutParameters{get; } public ParameterInfo[ ] Parameters{get; } public Type ReturnType{get; } public ICustomAttributeProvider ReturnTypeCustomAttributeProvider{get; } // Public Static Methods public static LogicalMethodInfo[ ] Create(System.Reflection.MethodInfo[ ] methodInfos); public static LogicalMethodInfo[ ] Create(System.Reflection.MethodInfo[ ] methodInfos, LogicalMethodTypes types); public static bool IsBeginMethod(System.Reflection.MethodInfo methodInfo); public static bool IsEndMethod(System.Reflection.MethodInfo methodInfo); // Public Instance Methods public IAsyncResult BeginInvoke(object target, object[ ] values, AsyncCallback callback, object asyncState); public object[ ] EndInvoke(object target, IAsyncResult asyncResult); public object GetCustomAttribute(Type type); public object[ ] GetCustomAttributes(Type type); public object[ ] Invoke(object target, object[ ] values); public override string ToString( ); // overrides object }