System.Web.Services.Description.ProtocolImporter.AddExtensionWarningComments Method

For each unhandled extension or XML element in the input extensions collection, turns on a ServiceDescriptionImportWarnings.RequiredExtensionsIgnored or ServiceDescriptionImportWarnings.OptionalExtensionsIgnored warning for each unhandled extension or XML element in the input extensions collection.

Syntax

public void AddExtensionWarningComments (System.CodeDom.CodeCommentStatementCollection comments, ServiceDescriptionFormatExtensionCollection extensions)

Parameters

comments
A System.CodeDom.CodeCommentStatementCollection that specifies the collection of code comments to which each warning message is added.
extensions
A System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection that specifies the extensions or XML elements for which warnings should be generated if they are not handled.

Remarks

This method also adds the warning messages to a collection of code comments.

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