共用方式為


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

'宣告
Function UnadviseWebServiceEvents ( _
    dwCookie As UInteger _
) As Integer
'用途
Dim instance As IVsWebService
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseWebServiceEvents(dwCookie)
int UnadviseWebServiceEvents(
    uint dwCookie
)
int UnadviseWebServiceEvents(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseWebServiceEvents : 
        dwCookie:uint32 -> int 
function UnadviseWebServiceEvents(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32
    [in] Integer, a VSCOOKIE value uniquely identifying the registered interface to unregister. Cookie generated by the call to AdviseWebServiceEvents.

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

IVsWebService Interface

IVsWebService Members

Microsoft.VisualStudio.Shell.Interop Namespace