ProtocolImporter.AddExtensionWarningComments Metoda

Definicja

Dla każdego nieobsługiwanego rozszerzenia lub elementu XML w kolekcji rozszerzeń wejściowych włącza lub RequiredExtensionsIgnored ostrzeżenie dla każdego nieobsługiwanego rozszerzenia lub OptionalExtensionsIgnored elementu XML w kolekcji rozszerzeń wejściowych.

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)

Parametry

comments
CodeCommentStatementCollection

Element CodeCommentStatementCollection określający kolekcję komentarzy kodu, do których jest dodawany każdy komunikat ostrzegawczy.

extensions
ServiceDescriptionFormatExtensionCollection

Element ServiceDescriptionFormatExtensionCollection określający rozszerzenia lub elementy XML, dla których ostrzeżenia powinny być generowane, jeśli nie są obsługiwane.

Uwagi

Ta metoda dodaje również komunikaty ostrzegawcze do kolekcji komentarzy kodu.

Dotyczy