WCF サービスの生成された WSDL ドキュメントから特定の型を削除するにはどうすればよいですか?
カスタム IWsdlExportExtension に、サービスの System.Web.Services.Description.ServiceDescription が既にあります。サービスの説明のどこでタイプを見つけることができますか?
ありがとう
When you're creating your .NET proxy class using the svcutil
command line utility, you can define a command-line switch
/excludeType:<type>
Specifies a fully-qualified or assembly-qualified type name
to be excluded from referenced contract types.
When using this switch together with /r from separate DLLs,
the full name of the XSD class is referenced.
Short Form: /et
See the complete and freely available MSDN documentation for svcutil
for more details.