ProtocolImporter.AddExtensionWarningComments Method

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

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)

public:
void AddExtensionWarningComments (
	CodeCommentStatementCollection^ comments, 
	ServiceDescriptionFormatExtensionCollection^ extensions
)
public void AddExtensionWarningComments (
	CodeCommentStatementCollection comments, 
	ServiceDescriptionFormatExtensionCollection extensions
)
public function AddExtensionWarningComments (
	comments : CodeCommentStatementCollection, 
	extensions : ServiceDescriptionFormatExtensionCollection
)
Not applicable.

Parameters

comments

A CodeCommentStatementCollection that specifies the collection of code comments to which each warning message is added.

extensions

A ServiceDescriptionFormatExtensionCollection that specifies the extensions or XML elements for which warnings should be generated if they are not handled.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: