次の方法で共有


IDiscoverUrlCallBack.NotifyDiscoverComplete(Int32, IDiscoveryResult) Method

Definition

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

public:
 int NotifyDiscoverComplete(int cookie, Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult ^ pIDiscoveryResult);
public:
 int NotifyDiscoverComplete(int cookie, Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult ^ pIDiscoveryResult);
int NotifyDiscoverComplete(int cookie, Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult const & pIDiscoveryResult);
public int NotifyDiscoverComplete (int cookie, Microsoft.VisualStudio.Shell.Interop.IDiscoveryResult pIDiscoveryResult);
abstract member NotifyDiscoverComplete : int * Microsoft.VisualStudio.Shell.Interop.IDiscoveryResult -> int
Public Function NotifyDiscoverComplete (cookie As Integer, pIDiscoveryResult As IDiscoveryResult) As Integer

Parameters

cookie
Int32

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

pIDiscoveryResult
IDiscoveryResult

[in] An IDiscoveryResult interface.

Returns

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  
);  

Applies to