IVsServiceReferenceMetadataStorageProvider.IsValidNewServiceReferenceName Method

Returns a value that determines whether a name for a XML web service reference is unique.

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

Syntax

'Declaration
Sub IsValidNewServiceReferenceName ( _
    pszStorageType As String, _
    pszNamespace As String, _
    pszReferenceName As String, _
    <OutAttribute> ByRef pbValid As SByte, _
    <OutAttribute> ByRef pValidationState As StorageNameValidationState, _
    <OutAttribute> ByRef pbstrMessage As String _
)
void IsValidNewServiceReferenceName(
    string pszStorageType,
    string pszNamespace,
    string pszReferenceName,
    out sbyte pbValid,
    out StorageNameValidationState pValidationState,
    out string pbstrMessage
)
void IsValidNewServiceReferenceName(
    [InAttribute] String^ pszStorageType, 
    [InAttribute] String^ pszNamespace, 
    [InAttribute] String^ pszReferenceName, 
    [OutAttribute] signed char% pbValid, 
    [OutAttribute] StorageNameValidationState% pValidationState, 
    [OutAttribute] String^% pbstrMessage
)
abstract IsValidNewServiceReferenceName : 
        pszStorageType:string * 
        pszNamespace:string * 
        pszReferenceName:string * 
        pbValid:sbyte byref * 
        pValidationState:StorageNameValidationState byref * 
        pbstrMessage:string byref -> unit
function IsValidNewServiceReferenceName(
    pszStorageType : String, 
    pszNamespace : String, 
    pszReferenceName : String, 
    pbValid : sbyte, 
    pValidationState : StorageNameValidationState, 
    pbstrMessage : 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.

  • pbValid
    Type: System.SByte%

    true if the name is valid; otherwise false.

  • pbstrMessage
    Type: System.String%

    A string that contains an error message. Can be Null.

.NET Framework Security

See Also

Reference

IVsServiceReferenceMetadataStorageProvider Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace