共用方式為


IVsWCFMetadataStorageProvider.CreateStorage Method

Creates a new Windows Communication Foundation (WCF) metadata storage.

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

Syntax

'宣告
Sub CreateStorage ( _
    pszNamespace As String, _
    pszReferenceName As String, _
    <OutAttribute> ByRef pWCFMetadataStorage As IVsWCFMetadataStorage, _
    <OutAttribute> ByRef pNameValidationState As StorageNameValidationState _
)
void CreateStorage(
    string pszNamespace,
    string pszReferenceName,
    out IVsWCFMetadataStorage pWCFMetadataStorage,
    out StorageNameValidationState pNameValidationState
)
void CreateStorage(
    [InAttribute] String^ pszNamespace, 
    [InAttribute] String^ pszReferenceName, 
    [OutAttribute] IVsWCFMetadataStorage^% pWCFMetadataStorage, 
    [OutAttribute] StorageNameValidationState% pNameValidationState
)
abstract CreateStorage : 
        pszNamespace:string * 
        pszReferenceName:string * 
        pWCFMetadataStorage:IVsWCFMetadataStorage byref * 
        pNameValidationState:StorageNameValidationState byref -> unit 
function CreateStorage(
    pszNamespace : String, 
    pszReferenceName : String, 
    pWCFMetadataStorage : IVsWCFMetadataStorage, 
    pNameValidationState : StorageNameValidationState
)

Parameters

  • pszNamespace
    Type: String
    The namespace for the storage.
  • pszReferenceName
    Type: String
    The name of the WCF service reference.

.NET Framework Security

See Also

Reference

IVsWCFMetadataStorageProvider Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace