ProtocolImporter.AddExtensionWarningComments 方法

定义

对于输入扩展集合中的每个未处理的扩展或 XML 元素,打开 RequiredExtensionsIgnoredOptionalExtensionsIgnored 警告。

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)

参数

comments
CodeCommentStatementCollection

CodeCommentStatementCollection,指定要将每个警告消息添加到的代码注释集合。

extensions
ServiceDescriptionFormatExtensionCollection

ServiceDescriptionFormatExtensionCollection,指定如果未被处理则应为其生成警告的扩展或 XML 元素。

注解

此方法还会将警告消息添加到代码注释的集合中。

适用于