IVsWebServiceEvents.OnRemoved Method

Method called when a Web service is removed.

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

Syntax

'宣言
Function OnRemoved ( _
    pszOldURL As String _
) As Integer
'使用
Dim instance As IVsWebServiceEvents
Dim pszOldURL As String
Dim returnValue As Integer

returnValue = instance.OnRemoved(pszOldURL)
int OnRemoved(
    string pszOldURL
)
int OnRemoved(
    [InAttribute] String^ pszOldURL
)
function OnRemoved(
    pszOldURL : String
) : int

Parameters

  • pszOldURL
    Type: System.String

    [in] Pointer to a string containing the URL to the now removed Web service.

Return Value

Type: System.Int32

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

Permissions

See Also

Reference

IVsWebServiceEvents Interface

IVsWebServiceEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace