ProtocolImporter.AddExtensionWarningComments Metod

Definition

För varje ohanterat tillägg eller XML-element i samlingen med indatatillägg aktiverar du en RequiredExtensionsIgnored eller OptionalExtensionsIgnored varning för varje ohanterat tillägg eller XML-element i samlingen med indatatillägg.

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)

Parametrar

comments
CodeCommentStatementCollection

En CodeCommentStatementCollection som anger den samling kodkommenterar som varje varningsmeddelande läggs till i.

extensions
ServiceDescriptionFormatExtensionCollection

En ServiceDescriptionFormatExtensionCollection som anger vilka tillägg eller XML-element som varningar ska genereras för om de inte hanteras.

Kommentarer

Den här metoden lägger också till varningsmeddelanden i en samling kodkommentare.

Gäller för