IDiscoverySession.CancelDiscoverUrl(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this method to cancel the discovery process. The process will be ignored, but the thread itself will not be destroyed.
public:
int CancelDiscoverUrl(int cookie);
public:
int CancelDiscoverUrl(int cookie);
int CancelDiscoverUrl(int cookie);
public int CancelDiscoverUrl (int cookie);
abstract member CancelDiscoverUrl : int -> int
Public Function CancelDiscoverUrl (cookie As Integer) As Integer
Parameters
- cookie
- Int32
[in] Specifies a cookie that identifies the discovery result.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IDiscoverySession::CancelDiscoverUrl(
[in] int cookie
);