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
'Déclaration
Function NotifyDiscoverComplete ( _
cookie As Integer, _
pIDiscoveryResult As IDiscoveryResult _
) As Integer
'Utilisation
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.
- pIDiscoveryResult
Type: Microsoft.VisualStudio.Shell.Interop.IDiscoveryResult
[in] An IDiscoveryResult interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.