Partager via


IVsWebServiceEvents.OnRenamed(String, String) Method

Definition

Method called when a Web service is renamed.

public:
 int OnRenamed(System::String ^ pszOldURL, System::String ^ pszNewURL);
public:
 int OnRenamed(Platform::String ^ pszOldURL, Platform::String ^ pszNewURL);
int OnRenamed(std::wstring const & pszOldURL, std::wstring const & pszNewURL);
public int OnRenamed (string pszOldURL, string pszNewURL);
abstract member OnRenamed : string * string -> int
Public Function OnRenamed (pszOldURL As String, pszNewURL As String) As Integer

Parameters

pszOldURL
String

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

pszNewURL
String

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to