Uređivanje

Dijeli putem


ProtocolImporter.AddExtensionWarningComments Method

Definition

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.

public:
 void AddExtensionWarningComments(System::CodeDom::CodeCommentStatementCollection ^ comments, System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ extensions);
public void AddExtensionWarningComments (System.CodeDom.CodeCommentStatementCollection comments, System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection extensions);
member this.AddExtensionWarningComments : System.CodeDom.CodeCommentStatementCollection * System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection -> unit
Public Sub AddExtensionWarningComments (comments As CodeCommentStatementCollection, extensions As ServiceDescriptionFormatExtensionCollection)

Parameters

comments
CodeCommentStatementCollection

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

extensions
ServiceDescriptionFormatExtensionCollection

A 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.

Applies to