System.Web.Services.Protocols.SoapExtension.Initialize Method

When overridden in a derived class, allows a SOAP extension to initialize itself using the data cached in the SoapExtension.GetInitializer(LogicalMethodInfo, SoapExtensionAttribute) method.

Syntax

public abstract void Initialize (object initializer)

Parameters

initializer
The object returned from SoapExtension.GetInitializer(LogicalMethodInfo, SoapExtensionAttribute) cached by ASP.NET.

Remarks

A SOAP extension has three opportunities to initialize data and they all have different purposes:

Note:

You can also add a SOAP extension without deriving from System.Web.Services.Protocols.SoapExtensionAttribute by using the <soapExtensionTypes> Element in a configuration file. For details, see <soapExtensionTypes> Element and SOAP Message Modification Using SOAP Extensions.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0