TextReturnReader.Initialize(Object) 方法
定义
初始化一个实例。Initializes an instance.
public:
override void Initialize(System::Object ^ o);
public override void Initialize (object o);
override this.Initialize : obj -> unit
Public Overrides Sub Initialize (o As Object)
参数
- o
- Object
一个 PatternMatcher 对象,用于正在调用的 Web 方法的返回类型。A PatternMatcher object for the return type of the Web method being invoked.
注解
Initialize方法提供 PatternMatcher Read 方法用来分析 HTTP 响应中包含的文本的对象。The Initialize method supplies the PatternMatcher object used by the Read method to parse text contained in the HTTP response. 处理请求时,将 Initialize 调用方法。The Initialize method is invoked at the time a request is processed. o通过 GetInitializer 在客户端初始化期间获取的类的另一个实例上调用方法来获取输入参数。The input parameter, o, is obtained by calling the GetInitializer method on another instance of the class that is obtained during client initialization.