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

‘선언
Function OnRenamed ( _
    pszOldURL As String, _
    pszNewURL As String _
) As Integer
‘사용 방법
Dim instance As IVsWebServiceEvents
Dim pszOldURL As String
Dim pszNewURL As String
Dim returnValue As Integer

returnValue = instance.OnRenamed(pszOldURL, _
    pszNewURL)
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

IVsWebServiceEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace