Partager via


IVsServiceReferenceMetadataStorageProvider.MakeValidServiceReferenceName Method

Returns a unique name and namespace for a XML web service reference.

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

Syntax

'Declaration
Sub MakeValidServiceReferenceName ( _
    pszStorageType As String, _
    pszNamespace As String, _
    pszReferenceName As String, _
    <OutAttribute> ByRef pbstrSuggestedNamespace As String, _
    <OutAttribute> ByRef pbstrSuggestedReferenceName As String _
)
void MakeValidServiceReferenceName(
    string pszStorageType,
    string pszNamespace,
    string pszReferenceName,
    out string pbstrSuggestedNamespace,
    out string pbstrSuggestedReferenceName
)
void MakeValidServiceReferenceName(
    [InAttribute] String^ pszStorageType, 
    [InAttribute] String^ pszNamespace, 
    [InAttribute] String^ pszReferenceName, 
    [OutAttribute] String^% pbstrSuggestedNamespace, 
    [OutAttribute] String^% pbstrSuggestedReferenceName
)
abstract MakeValidServiceReferenceName : 
        pszStorageType:string * 
        pszNamespace:string * 
        pszReferenceName:string * 
        pbstrSuggestedNamespace:string byref * 
        pbstrSuggestedReferenceName:string byref -> unit
function MakeValidServiceReferenceName(
    pszStorageType : String, 
    pszNamespace : String, 
    pszReferenceName : String, 
    pbstrSuggestedNamespace : String, 
    pbstrSuggestedReferenceName : String
)

Parameters

  • pszNamespace
    Type: System.String

    A string that contains the namespace for the reference.

  • pszReferenceName
    Type: System.String

    A string that contains the name of the reference.

  • pbstrSuggestedNamespace
    Type: System.String%

    A string that contains the new namespace for the reference.

  • pbstrSuggestedReferenceName
    Type: System.String%

    A string that contains the new name of the reference.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorageProvider Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace