Share via


IVsASMXMetadataStorageProvider.IsValidNewASMXReferenceName(String) Method

Definition

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.

Applies to