System.Web.Services.Description.SoapExtensionImporter.ImportMethod Method

When overridden in a derived class, adds code attribute declarations to any method that represents an operation in a binding.

Syntax

public abstract void ImportMethod (System.CodeDom.CodeAttributeDeclarationCollection metadata)

Parameters

metadata
A System.CodeDom.CodeAttributeDeclarationCollection into which the SoapExtensionImporter.ImportMethod(System.CodeDom.CodeAttributeDeclarationCollection) method can place new System.CodeDom.CodeAttributeDeclaration instances.

Remarks

The method to which the attribute declarations are applied is not used directly by the SoapExtensionImporter.ImportMethod(System.CodeDom.CodeAttributeDeclarationCollection) method. The attributes are added to all Web methods in a binding class.

Requirements

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