共用方式為


IVsServiceReferenceMetadataStorage Interface

Stores the metadata for a XML web service service reference group.

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

Syntax

'宣告
<GuidAttribute("0743635E-4F48-457C-9323-0AF36982FA28")> _
<InterfaceTypeAttribute()> _
Public Interface IVsServiceReferenceMetadataStorage
[GuidAttribute("0743635E-4F48-457C-9323-0AF36982FA28")]
[InterfaceTypeAttribute()]
public interface IVsServiceReferenceMetadataStorage
[GuidAttribute(L"0743635E-4F48-457C-9323-0AF36982FA28")]
[InterfaceTypeAttribute()]
public interface class IVsServiceReferenceMetadataStorage
[<GuidAttribute("0743635E-4F48-457C-9323-0AF36982FA28")>]
[<InterfaceTypeAttribute()>]
type IVsServiceReferenceMetadataStorage =  interface end
public interface IVsServiceReferenceMetadataStorage

The IVsServiceReferenceMetadataStorage type exposes the following members.

Methods

  Name Description
Public method AdviseServiceReferenceMetadataStorageEvents Registers the caller for metadata storage event notification.
Public method BeginUpdate Initiates an update to Windows Communication Foundation (WCF) metadata storage files.
Public method CreateMetadataFile Creates a new metadata file in a XML web service metadata storage.
Public method DeleteMetadataFile Deletes an existing metadata file from a XML web service metadata storage.
Public method EndUpdate Concludes an update to XML web service metadata storage files.
Public method FileCodeModel Returns the proxy code model for a XML web service metadata storage.
Public method GetMapFilePath Returns the path for the .svcmap file in a XML web service metadata storage.
Public method GetName Returns the name of the .svcmap file in a XML web service metadata storage.
Public method GetNamespace Returns the namespace for a XML web service metadata storage.
Public method GetStorageType Returns the storage type for a XML web service metadata storage.
Public method LoadMapFileData Loads the metadata into a .svcmap file.
Public method LoadMetadataFile Loads the metadata into a metadata file.
Public method ProjectItemId Returns the ProjectItemId for a XML web service metadata storage.
Public method Remove Deletes the complete XML web service metadata storage.
Public method RunProxyGenerator Runs the code generator to create a XML web service client.
Public method SaveMapFileData Saves the .svcmap file in a XML web service metadata storage.
Public method SaveMetadataFile Saves a metadata file in a XML web service metadata storage.
Public method SetName Sets the name of the .svcmap file in a XML web service metadata storage.
Public method SetNamespace Sets the namespace for a XML web service metadata storage.
Public method UnadviseServiceReferenceMetadataStorageEvents Cancels registration for metadata storage event notification.

Top

Remarks

A metadata storage is a location to which all metadata of a service reference group is saved. It is usually a single directory.

The IVsServiceReferenceMetadataStorage interface enables you to read and write metadata files and other properties such as namespace and name in the storage.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace