共用方式為


IVsServiceReferenceMetadataStorageProvider.CreateMetadataStorage Method

Definition

Creates a new XML web service metadata storage.

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)

Parameters

pszStorageType
String

The ServiceReferenceType of the XML web service.

pszNamespace
String

The namespace for the storage.

pszReferenceName
String

The name of the XML web service reference.

Applies to