IVsASMXMetadataStorageProvider::IsValidNewASMXReferenceName Method (String^)

 

Returns a value that determines whether a namespace for a reference to a Web service (asmx) that uses ASP.NET is unique.

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

int IsValidNewASMXReferenceName(
	String^ pszNewName
)

Parameters

pszNewName
Type: System::String^

A string that contains the namespace for the reference.

Return Value

Type: System::Int32

0 if the namespace already exists; otherwise a non-zero Integer.

Call this method before you add an .asmx Web service reference to potential namespace conflicts.

Return to top
Show: