IVsWebService.UnadviseWebServiceEvents Method

Unregisters callbacks for this Web service.

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

Syntax

'Declaration
Function UnadviseWebServiceEvents ( _
    dwCookie As UInteger _
) As Integer
int UnadviseWebServiceEvents(
    uint dwCookie
)
int UnadviseWebServiceEvents(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseWebServiceEvents : 
        dwCookie:uint32 -> int
function UnadviseWebServiceEvents(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: UInt32

    [in] Integer, a VSCOOKIE value uniquely identifying the registered interface to unregister. Cookie generated by the call to AdviseWebServiceEvents.

Return Value

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

.NET Framework Security

See Also

Reference

IVsWebService Interface

Microsoft.VisualStudio.Shell.Interop Namespace