Share via


IVsServiceReferenceMetadataStorageProvider.IsValidNewServiceReferenceName Method

Definition

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

public:
 void IsValidNewServiceReferenceName(System::String ^ pszStorageType, System::String ^ pszNamespace, System::String ^ pszReferenceName, [Runtime::InteropServices::Out] System::SByte % pbValid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState % pValidationState, [Runtime::InteropServices::Out] System::String ^ % pbstrMessage);
void IsValidNewServiceReferenceName(std::wstring const & pszStorageType, std::wstring const & pszNamespace, std::wstring const & pszReferenceName, [Runtime::InteropServices::Out] SByte & pbValid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::WCFReference::Interop::StorageNameValidationState & pValidationState, [Runtime::InteropServices::Out] std::wstring const & & pbstrMessage);
public void IsValidNewServiceReferenceName (string pszStorageType, string pszNamespace, string pszReferenceName, out sbyte pbValid, out Microsoft.VisualStudio.WCFReference.Interop.StorageNameValidationState pValidationState, out string pbstrMessage);
abstract member IsValidNewServiceReferenceName : string * string * string * sbyte * StorageNameValidationState * string -> unit
Public Sub IsValidNewServiceReferenceName (pszStorageType As String, pszNamespace As String, pszReferenceName As String, ByRef pbValid As SByte, ByRef pValidationState As StorageNameValidationState, ByRef pbstrMessage As String)

Parameters

pszStorageType
String

The ServiceReferenceType of the XML web service reference.

pszNamespace
String

A string that contains the namespace for the reference.

pszReferenceName
String

A string that contains the name of the reference.

pbValid
SByte

true if the name is valid; otherwise false.

pbstrMessage
String

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

Applies to