SoapExtensionReflector.ReflectMethod 方法

定义

Abstract 方法,派生类必须实现该方法以按方法向 ServiceDescription 对象添加 SOAP 扩展信息。Abstract method that a derived class must implement to add SOAP extension information to a ServiceDescription object on a per-method basis.

public:
 abstract void ReflectMethod();
public abstract void ReflectMethod ();
abstract member ReflectMethod : unit -> unit
Public MustOverride Sub ReflectMethod ()

注解

ReflectMethod对于属于表示的绑定的每个 Web 方法,将调用方法 ServiceDescriptionThe ReflectMethod method is called for each Web method that belongs to a binding that the ServiceDescription represents. ReflectMethod方法不直接使用 Web 方法。The ReflectMethod method does not use the Web method directly. 对于从 Web 服务类反射的绑定中的所有 Web 方法,将添加 SOAP 扩展信息。The SOAP extension information gets added for all Web methods in a binding reflected from a Web service class.

的实现 ReflectMethod 可以生成操作绑定、 abstract 操作和消息等信息。An implementation of the ReflectMethod can generate information like operation binding, abstract operation, and messages.

适用于