共用方式為


IVsServiceReferenceMetadataStorageProvider Interface

Provides an interface for saving XML web service metadata in the project system.

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

Syntax

'宣告
<GuidAttribute("6D076165-1AFF-4D68-9BD1-FA09ADF57D34")> _
<InterfaceTypeAttribute()> _
Public Interface IVsServiceReferenceMetadataStorageProvider
[GuidAttribute("6D076165-1AFF-4D68-9BD1-FA09ADF57D34")]
[InterfaceTypeAttribute()]
public interface IVsServiceReferenceMetadataStorageProvider
[GuidAttribute(L"6D076165-1AFF-4D68-9BD1-FA09ADF57D34")]
[InterfaceTypeAttribute()]
public interface class IVsServiceReferenceMetadataStorageProvider
[<GuidAttribute("6D076165-1AFF-4D68-9BD1-FA09ADF57D34")>]
[<InterfaceTypeAttribute()>]
type IVsServiceReferenceMetadataStorageProvider =  interface end
public interface IVsServiceReferenceMetadataStorageProvider

The IVsServiceReferenceMetadataStorageProvider type exposes the following members.

Methods

  Name Description
Public method AdviseMetadataStorageProviderEvents Registers the caller for metadata storage provider event notification.
Public method CreateMetadataStorage Creates a new XML web service metadata storage.
Public method GetMetadataStorageFromMapFile
Public method GetMetadataStorages Enumerates XML web service metadata storages in a project.
Public method IsStorageTypeSupported Determines if the storage is of a supported type
Public method IsValidNewServiceReferenceName Returns a value that determines whether a name for a XML web service reference is unique.
Public method MakeValidServiceReferenceName Returns a unique name and namespace for a XML web service reference.
Public method UnadviseMetadataStorageProviderEvents Cancels registration for metadata storage provider event notification.

Top

Remarks

Project systems must implement this interface. Call this interface to create a new storage to save a service reference group, or emulate existing storages in the project.

The project system must determine the correct directory structure to store its metadata.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace