Freigeben über


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

'Declaration
Function NotifyDiscoverComplete ( _
    cookie As Integer, _
    pIDiscoveryResult As IDiscoveryResult _
) As Integer
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: Int32

    [in] Cookie to use to uniquely identify the callback in any later operations.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace