ProtocolImporter.AddExtensionWarningComments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om