共用方式為


IVsWCFMetadataStorage Interface

Stores the metadata for a Windows Communication Foundation (WCF) service reference group.

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

Syntax

'宣告
<GuidAttribute("8D095035-AB0C-4363-891A-8C79F5CDA259")> _
<InterfaceTypeAttribute()> _
Public Interface IVsWCFMetadataStorage
[GuidAttribute("8D095035-AB0C-4363-891A-8C79F5CDA259")]
[InterfaceTypeAttribute()]
public interface IVsWCFMetadataStorage
[GuidAttribute(L"8D095035-AB0C-4363-891A-8C79F5CDA259")]
[InterfaceTypeAttribute()]
public interface class IVsWCFMetadataStorage
[<GuidAttribute("8D095035-AB0C-4363-891A-8C79F5CDA259")>]
[<InterfaceTypeAttribute()>]
type IVsWCFMetadataStorage =  interface end
public interface IVsWCFMetadataStorage

The IVsWCFMetadataStorage type exposes the following members.

Methods

  Name Description
Public method AdviseWCFMetadataStorageEvents 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 Windows Communication Foundation (WCF) metadata storage.
Public method DeleteMetadataFile Deletes an existing metadata file from a Windows Communication Foundation (WCF) metadata storage.
Public method EndUpdate Concludes an update to Windows Communication Foundation (WCF) metadata storage files.
Public method FileCodeModel Returns the proxy code model for a Windows Communication Foundation (WCF) metadata storage.
Public method GetMapFilePath Returns the path for the .svcmap file in a Windows Communication Foundation (WCF) metadata storage.
Public method GetName Returns the name of the .svcmap file in a Windows Communication Foundation (WCF) metadata storage.
Public method GetNamespace Returns the namespace for a Windows Communication Foundation (WCF) 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 Windows Communication Foundation (WCF) metadata storage.
Public method Remove Deletes the complete Windows Communication Foundation (WCF) metadata storage.
Public method RunProxyGenerator Runs the code generator to create a Windows Communication Foundation (WCF) service client.
Public method SaveMapFileData Saves the .svcmap file in a Windows Communication Foundation (WCF) metadata storage.
Public method SaveMetadataFile Saves a metadata file in a Windows Communication Foundation (WCF) metadata storage.
Public method SetName Sets the name of the .svcmap file in a Windows Communication Foundation (WCF) metadata storage.
Public method SetNamespace Sets the namespace for a Windows Communication Foundation (WCF) metadata storage.
Public method UnadviseWCFMetadataStorageEvents 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 IVsWCFMetadataStorage 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