IDiscoverUrlCallBack.NotifyDiscoverComplete Method

Establish the interface to use when a Web service discovery finishes.

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

Syntax

‘선언
Function NotifyDiscoverComplete ( _
    cookie As Integer, _
    pIDiscoveryResult As IDiscoveryResult _
) As Integer
‘사용 방법
Dim instance As IDiscoverUrlCallBack
Dim cookie As Integer
Dim pIDiscoveryResult As IDiscoveryResult
Dim returnValue As Integer

returnValue = instance.NotifyDiscoverComplete(cookie, _
    pIDiscoveryResult)
int NotifyDiscoverComplete(
    int cookie,
    IDiscoveryResult pIDiscoveryResult
)
int NotifyDiscoverComplete(
    [InAttribute] int cookie, 
    [InAttribute] IDiscoveryResult^ pIDiscoveryResult
)
abstract NotifyDiscoverComplete : 
        cookie:int * 
        pIDiscoveryResult:IDiscoveryResult -> int 
function NotifyDiscoverComplete(
    cookie : int, 
    pIDiscoveryResult : IDiscoveryResult
) : int

Parameters

  • cookie
    Type: System.Int32
    [in] Cookie to use to uniquely identify the callback in any later operations.

Return Value

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

Remarks

COM Signature

From designer.idl:

HRESULT IDiscoverUrlCallBack::NotifyDiscoverComplete(
   [in] int cookie, 
   [in] IDiscoveryResult *pIDiscoveryResult
);

.NET Framework Security

See Also

Reference

IDiscoverUrlCallBack Interface

IDiscoverUrlCallBack Members

Microsoft.VisualStudio.Shell.Interop Namespace