IVsASMXMetadataStorageProvider.IsValidNewASMXReferenceName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that determines whether a namespace for a reference to a Web service (asmx) that uses ASP.NET is unique.
public:
int IsValidNewASMXReferenceName(System::String ^ pszNewName);
public:
int IsValidNewASMXReferenceName(Platform::String ^ pszNewName);
int IsValidNewASMXReferenceName(std::wstring const & pszNewName);
public int IsValidNewASMXReferenceName (string pszNewName);
abstract member IsValidNewASMXReferenceName : string -> int
Public Function IsValidNewASMXReferenceName (pszNewName As String) As Integer
Parameters
- pszNewName
- String
A string that contains the namespace for the reference.
Returns
0 if the namespace already exists; otherwise a non-zero Integer.
Remarks
Call this method before you add an .asmx Web service reference to potential namespace conflicts.