Share via


IVsWebServiceEvents.OnRenamed Method

Method called when a Web service is renamed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function OnRenamed ( _
    pszOldURL As String, _
    pszNewURL As String _
) As Integer
int OnRenamed(
    string pszOldURL,
    string pszNewURL
)
int OnRenamed(
    [InAttribute] String^ pszOldURL, 
    [InAttribute] String^ pszNewURL
)
abstract OnRenamed : 
        pszOldURL:string * 
        pszNewURL:string -> int
function OnRenamed(
    pszOldURL : String, 
    pszNewURL : String
) : int

Parameters

  • pszOldURL
    Type: System.String

    [in] Pointer to a string containing the URL of the old name of the service.

  • pszNewURL
    Type: System.String

    [in] Pointer to a string containing the URL of the new name of the service.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsWebServiceEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace