IVsServiceReferenceMetadataStorageProvider.CreateMetadataStorage 方法

定义

创建新的 XML web 服务元数据存储。

public:
 void CreateMetadataStorage(System::String ^ pszStorageType, System::String ^ pszNamespace, System::String ^ pszReferenceName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsServiceReferenceMetadataStorage ^ % pServiceReferenceMetadataStorage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState % pNameValidationState);
public:
 void CreateMetadataStorage(Platform::String ^ pszStorageType, Platform::String ^ pszNamespace, Platform::String ^ pszReferenceName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsServiceReferenceMetadataStorage ^ &  pServiceReferenceMetadataStorage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState &  pNameValidationState);
void CreateMetadataStorage(std::wstring const & pszStorageType, std::wstring const & pszNamespace, std::wstring const & pszReferenceName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::IVsServiceReferenceMetadataStorage const & & pServiceReferenceMetadataStorage, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState & pNameValidationState);
public void CreateMetadataStorage (string pszStorageType, string pszNamespace, string pszReferenceName, out Microsoft.VisualStudio.WCFReference.Interop.IVsServiceReferenceMetadataStorage pServiceReferenceMetadataStorage, out Microsoft.VisualStudio.WCFReference.Interop.StorageNameValidationState pNameValidationState);
abstract member CreateMetadataStorage : string * string * string * IVsServiceReferenceMetadataStorage * StorageNameValidationState -> unit
Public Sub CreateMetadataStorage (pszStorageType As String, pszNamespace As String, pszReferenceName As String, ByRef pServiceReferenceMetadataStorage As IVsServiceReferenceMetadataStorage, ByRef pNameValidationState As StorageNameValidationState)

参数

pszStorageType
String

ServiceReferenceTypeXML web services 的。

pszNamespace
String

存储的命名空间。

pszReferenceName
String

XML web services 引用的名称。

pServiceReferenceMetadataStorage
IVsServiceReferenceMetadataStorage

新的 IVsServiceReferenceMetadataStorage

适用于