共用方式為


IVsASMXMetadataStorageProvider Interface

Provides an interface for saving metadata for Web services (.asmx) that use ASP.NET in the project system.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'宣告
<GuidAttribute("C5E5042E-F39A-4C27-AE06-1B1715EA7223")> _
<InterfaceTypeAttribute()> _
Public Interface IVsASMXMetadataStorageProvider
[GuidAttribute("C5E5042E-F39A-4C27-AE06-1B1715EA7223")]
[InterfaceTypeAttribute()]
public interface IVsASMXMetadataStorageProvider
[GuidAttribute(L"C5E5042E-F39A-4C27-AE06-1B1715EA7223")]
[InterfaceTypeAttribute()]
public interface class IVsASMXMetadataStorageProvider
[<GuidAttribute("C5E5042E-F39A-4C27-AE06-1B1715EA7223")>]
[<InterfaceTypeAttribute()>]
type IVsASMXMetadataStorageProvider =  interface end
public interface IVsASMXMetadataStorageProvider

The IVsASMXMetadataStorageProvider type exposes the following members.

Methods

  Name Description
Public method AddWebReference Adds the metadata to a project for reference to a Web service (.asmx) that uses ASP.NET.
Public method IsValidNewASMXReferenceName Returns a value that determines whether a namespace for a reference to a Web service (asmx) that uses ASP.NET is unique.

Top

Remarks

This interface should be implemented by the project system. The Add Service Reference dialog box will call this interface to save an .asmx Web service reference in the project.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace