Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Function IsValidNewASMXReferenceName ( _
pszNewName As String _
) As Integer
int IsValidNewASMXReferenceName(
string pszNewName
)
int IsValidNewASMXReferenceName(
[InAttribute] String^ pszNewName
)
abstract IsValidNewASMXReferenceName :
pszNewName:string -> int
function IsValidNewASMXReferenceName(
pszNewName : String
) : int
Parameters
- pszNewName
Type: String
A string that contains the namespace for the reference.
Return Value
Type: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.